Consider a process where icon-only buttons get a default accessible name #11102
mbgower
started this conversation in
Accessibility
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This topic was first explored as part of a conversation in the Carbon Accessibility Guild. Reviewing that topic is not necessary, but may provide some background.
I will restate the problem space and suggested solution space.
I'm suggesting creating a default accessible name for each icon, which could be added to the friendly name and alias information in some libraries such as https://github.com/carbon-design-system/carbon/blob/main/packages/icons/icons.yml For future icon-only buttons, suggesting an accessible name could be part of the adoption process.
Accessible names do not need to be unique. All the alternative versions of a button will likely have the same accessible name. Teams can still override, but the default will be a vetted accessible name, good in most uses.
I'm not suggesting any prescribed technical approach here, but i would like to have an exploration on whether this is deemed a doable and useful approach.
A somewhat related discussion took place in carbon-design-system/carbon-website#2682
Beta Was this translation helpful? Give feedback.
All reactions