Site logo

Archived topic

Aria-label and attribute issue

5 replies · Started by Roberto on December 19, 2022

Viewing posts 1–6 of 6

Hi, I'm always getting this kind of accessibility error from pagespeed.web.dev that I cannot fix, even trying many different solution.
aria label issue
What can I do to fix this?

Thanks

Hi Giacomo,

Can you translate the info to English in your screenshot?

Or can you copy and paste it here so we can use Google to translate it?

Thanks!

Yes, sorry.
ITA version:
Gli attributi [aria-×] non corrispondono ai rispettivi ruoli.
Ogni elemento 'role' di ARIA supporta un determinato sottoinsieme di attributi 'aria-**. Se non dovessero corrispondere, gli attributi 'aria-*' non
saranno considerati validi.
Elementi respinti:
social link
«span class="gb-button gb-button-04b22afd gb-button-fifth" aria-label="social link">

ENG version:
The [aria-×] attributes do not correspond to their respective roles. Each ARIA 'role' element supports a certain subset of 'aria-** attributes. If they don't match, the 'aria-*' attributes won't be considered valid.
Rejected items:
social link
<span class="gb-button gb-button-04b22afd gb-button-fifth" aria-label="social link">

Is the button supposed to have a link?

If yes, can you add the link and try to test again?

Yes. I add the link, and the issue was fixed.
Thanks!

No Problem :)

This archived topic is closed to new replies.