You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One minor accessibility issues with dismissible tabs.
labelling
Labeling on dismissible tabs needs to be revamped.
For a mouse user, there are multiple targets inside each tab and they have separate names.
For keyboard, there is only one focus point, so the two labels are concatenated into one message that doesn't make a lot of sense to a screen reader (e.g., "[tab name] close tab")
A better description would be added with aria-describedby, so that the user heard "tab label, press Esc to dismiss'
BTW, we've previously talked about giving these examples 'real' names instead of "tab label".
Package
@carbon/react
Browser
No response
Package version
v1.35.0
React version
No response
Description
One minor accessibility issues with dismissible tabs.
Labeling on dismissible tabs needs to be revamped.
For a mouse user, there are multiple targets inside each tab and they have separate names.
For keyboard, there is only one focus point, so the two labels are concatenated into one message that doesn't make a lot of sense to a screen reader (e.g., "[tab name] close tab")
A better description would be added with aria-describedby, so that the user heard "tab label, press Esc to dismiss'
BTW, we've previously talked about giving these examples 'real' names instead of "tab label".
WCAG 2.1 Violation
Name, Role, Value
Reproduction/example
https://react.carbondesignsystem.com/?path=/story/components-tabs--dismissable
Steps to reproduce
Labelling
Suggested Severity
None
Application/PAL
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: