Accessibility: links do not have proper roles #294
Replies: 4 comments 3 replies
-
What would be your proposal and would you add it to the text or the whole |
Beta Was this translation helpful? Give feedback.
-
I think it depends on the type of list item. If its a button, role="button", if its a link, role="link", and so on. https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles From the first glance, I could see some of the list items triggers file download (like apple), so I would recommend role "button" for those whereas some opens a link in another tab (like google calendar), which I would recommend role "link". The main goal is to have a specific role for these list items instead of "generic" role to avoid confusion for screenreader users. |
Beta Was this translation helpful? Give feedback.
-
By the way, I have reported another accessibility issues as a separate discussion. Hope that is okay. #295 |
Beta Was this translation helpful? Give feedback.
-
Should be optimized with the latest V2 version 😃 |
Beta Was this translation helpful? Give feedback.
-
As you can see, roles of calendar links are generic. In this case, the screen reader won't announce the links "Apple", "Google", "iCal File", etc. with their correct role, which would be confusing to screen reader users. Could you please provide proper role to them?
Beta Was this translation helpful? Give feedback.
All reactions