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 ^^
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login