IconViews used in buttons should be marked as decorative since they lack accessible labels #17554
Labels
domain:accessibility
This issue reports an accessibility problem.
intro
Good first ticket.
squad:collaboration
Issue to be handled by the Collaboration team.
support:2
An issue reported by a commercially licensed client.
type:bug
This issue reports a buggy (incorrect) behavior.
Milestone
📝 Provide detailed reproduction steps (if any)
Even though toolbar buttons have their own labels, the icons used inside don't, and accessing them individually, e.g. using the "virtual cursor" feature offered by assistive technologies presents an accessibility issue.
❓ Possible solution
Icons that are used as a decoration should come with an
aria-hidden
attribute.Possible questions
Should all
IconView
getaria-hidden
or just those used in buttons/menus/dropdowns/lists? Frankly, I don't remember any place usingIconView
for anything other than decoration but who knows (3rd-party). It might be a BC so it needs consideration.If you'd like to see this fixed sooner, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: