social media icons and aria-label
-
do you need to make a website for people with assistive technology, like for example a website for someone who is blind?
or what do you need it for -
so there is no way to do that :/
but what do u need it for?
which labels would you like to see there? maybe i can just hard-code them in! -
Thanks, Armin. PageSpeed Insight shows a note under the accessibility point. This only affects the social media icons in the footer. And they don't have to be readable. Maybe with aria-hidden="true" (and focusable="false"?). Can the attributes be added to the svg code? The icons are in my media lib. Just a small detail, I know.
-
i can add aria-hidden="true" to the anchor tags that inherit the icon images
maybe that works. you'll need to wait for the next lay theme update release, then that will be included
-
Thanks Armin. But Pagespeed now says '[aria-hidden="true"] elements contain focusable descendents'. The svg (as a child element?) must also not-focusable with aria-hidden=true > aria-hidden-focus
-
ok the image tag will now also have aria-hidden="true" with the next update ^^
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it