Accessibility-ready
-
Hello!
Does this plug-in support accissibility principals according to WCAG 2.0?
When i test it with WAVE it shows errors for “Missing alternative text” & “Linked image missing alternative text”.
Thank you1
-
Hi Angie
We are partially WCAG compliant but not fully at the moment.
We are progressively working towards full WCAG and W3C compliance.
I hope that helps?
Kind regards
– PerryA little.
The problem is that when we use the map the marker icon doesn’t have an alt or the hole map doesn’t have an alt (as i mentioned above). That’s why we get errors with achecker or WAVE tools for testing accessibility
Are you using the OpenLayers engine or Google Maps?
Kind regards
– PerryIt’s WP Google Maps plugin with an extra plugin “API Key for Google maps”.
May we see your map page?
Kind regards
– Perryhttps://www.pana….sa.gr/
down to the bottom
-
This reply was modified 7 years, 5 months ago by
angie_s.
Hi Angie
We can certainly add alt attributes to those elements.
Would it be appropriate for your users if we were to set this to the marker address?
Kind regards
– PerryWhat do you mean?
We just want to be ok with the accessibility WCAG 2.0
So i suppose you have to modify the plugin code.
We have more websites with the same issue.Any news about the alt attributes?
Hi Angie
My apologies for the delay in responding.
We have added a blank alt attribute to the img element for OpenLayers markers, in keeping with the WCAG best practises.
We will be getting a patch out with this in the next few days (next Monday at the latest), if you need a pre-release please just let us know and I will arrange that.
Alternatively, you could add that attribute in
/wp-google-maps/js/v8/open-layers/ol-marker.jsand do the same in the combined file at/wp-google-maps/js/v8/wp-google-maps.combined.js. If you are running the Pro add on you will need to do the same for the combined Pro file.I hope that helps?
Kind regards
– PerryThank you for the answer.
Previously you asked if we use OpenLayers engine or Google Maps.
Is there any difference?I noticed that the image alt tag is missing for “© OpenStreetMap contributors.”
Hi Angie
Yes there is, the OpenLayers engine uses a HTML element to display the marker. The Google Maps engine draws the marker through a canvas, so no image elements are involved.
I’m using OpenLayers at my end as we speak, I don’t see any image element in the attribution. Are you referring to the text in the bottom right?
Kind regards
– PerryYes that’it!
Hi Angie
My apologies for the delay in responding, we only have minimal staff on over the weekends.
We have added a blank alt attribute to the marker image element, this patch will be going out shortly (in the next few hours).
Regarding the attribution, I don’t see any images inside this attribution at all. As far as I can see this is all plain HTML. If you’re seeing something different, could you please link us to the map page in question?
Kind regards
– Perry -
This reply was modified 7 years, 5 months ago by
The topic ‘Accessibility-ready’ is closed to new replies.