-
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
feat(modal): deprecate iconDescription #9828
feat(modal): deprecate iconDescription #9828
Conversation
✔️ Deploy Preview for carbon-react-next ready! 🔨 Explore the source changes: 67be21f 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-react-next/deploys/61718f885cc8470007c4e0bc 😎 Browse the preview: https://deploy-preview-9828--carbon-react-next.netlify.app |
✔️ Deploy Preview for carbon-elements ready! 🔨 Explore the source changes: 67be21f 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-elements/deploys/61718f88512e5300086f0f2b 😎 Browse the preview: https://deploy-preview-9828--carbon-elements.netlify.app |
✔️ Deploy Preview for carbon-components-react ready! 🔨 Explore the source changes: 67be21f 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-components-react/deploys/61718f8851d3b200082a8712 😎 Browse the preview: https://deploy-preview-9828--carbon-components-react.netlify.app |
Looks like its getting flagged in Accessibility Checker for not having a label on the close button. adding |
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.
looks good to me 🏄🏾
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 just looks like you need to update snapshots
REF #9624
Added deprecation warnings for
iconDescription
for v11.Changelog
title
andaria-label
attributes now use theariaLabel
prop instead oficonDescription
.aria-hidden="true"
iconDescription
. Added a new test to ensure thearia-hidden
is applied to theClose20
icon.Testing / Reviewing
Review Modal in Storybook and ensure tests are firing off correctly.
Questions
aria-label
be required now? REF 9466 - thx @abbeyhrt