-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(Tabs): remove required role prop #6964
fix(Tabs): remove required role prop #6964
Conversation
Deploy preview for carbon-elements ready! Built with commit 498e794 |
Deploy preview for carbon-components-react ready! Built without sensitive environment variables with commit 498e794 https://deploy-preview-6964--carbon-components-react.netlify.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 ✅
I went to https://deploy-preview-6964--carbon-components-react.netlify.app/?path=/story/tabs--default |
@carmacleod looks like it's a leftover knob in the storybook that was adding it. Pushed up a fix to remove that: #6981 |
Closes #6931
This PR removes the
role
prop requirement on the Tabs component to avoid a11y testing issues with navigation landmarksTesting / Reviewing
Confirm that
role="navigation"
prop is no longer added by default to the Tabs component