-
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(OverflowMenu): remove default tabindex and SVG focusable attribute #6976
fix(OverflowMenu): remove default tabindex and SVG focusable attribute #6976
Conversation
5876afe
to
d7af850
Compare
Deploy preview for carbon-elements ready! Built with commit 5876afe |
Deploy preview for carbon-components-react ready! Built with commit 5876afe https://deploy-preview-6976--carbon-components-react.netlify.app |
Deploy preview for carbon-elements ready! Built with commit 1fcf335 |
Deploy preview for carbon-components-react ready! Built with commit 1fcf335 https://deploy-preview-6976--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.
that was a separate existing issue fixed in #6978, try updating your branch to pull in the latest commits to Carbon |
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 👍 ✅
18dd89c
to
724922a
Compare
For the record, it was not the |
yeah the SVG itself still has |
Ah, ok. Thanks for the explanation. I was confused by the title and opening comment in this PR. :) |
Closes #6935
This PR removes the redundant default tabindex value on the overflow menu trigger button and also removes the redundant
focusable
attribute from the icon props. It looks like thefocusable="false"
was meant to prevent extra tab stops in IE11, but I was unable to replicate that issueChangelog
Removed
focusable
attribute on trigger button SVGTesting / Reviewing
Confirm that the trigger button no longer receives a tabindex value by default and that there are no changes to focus behavior and tab stops particularly in IE11