-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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: Modal Close button a11y issues #15057
fix: Modal Close button a11y issues #15057
Conversation
✅ Deploy Preview for v11-carbon-react ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Thanks for submitting this PR! Just a couple things to address below, let me know what you think.
I saw CI was getting a compiler error, so I went ahead and pushed an update here that includes new TypeScript types for IconButton |
@tay1orjones @tw15egan I pushed some updated type stuff here that'll hopefully resolve the issues, but I left some TODOs in the code that need expert input. LMK if you want to discuss any of them! |
@tay1orjones I just pushed up some changes that should fix the Percy issues. Could you take another look before we (finally) get this merged in? |
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 👍 ✅
@tw15egan Thank you! and ah I forgot we had those TODO's in here 🤦♂️ Thoughts on merging as is? We could follow up with more comprehensive proptypes to address the TODOs later? |
@tay1orjones I'm fine merging this as-is and addressing those items separately, this PR seems to be blocking a few others |
Closes #14988
Closes #14323
Closes #13232
Modal
to useIconButton
so that it uses correct tooltiptitle
Testing / Reviewing
Tested component in storybook it's working as expected