-
Notifications
You must be signed in to change notification settings - Fork 189
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-domUtils):chartID initialization and addition of chartID in modal ARIA attributes #1722
fix(modal-domUtils):chartID initialization and addition of chartID in modal ARIA attributes #1722
Conversation
… modal ARIA attributes
✅ Deploy Preview for carbon-charts-core ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for carbon-charts-react ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for carbon-charts-angular ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
I have read the DCO document and I hereby sign the DCO. |
.attr('aria-labelledby', 'modal-title') | ||
.attr('aria-describedby', 'modal-description') | ||
.attr('aria-labelledby', `${id}__modal-title`) | ||
.attr('aria-describedby', `${id}__modal-description`) |
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.
these just point to an ID, but you also need to set these IDs to the modal
(currently the modal IDs are set to modal-title
& modal-description
, so we need to add the ${id}__
in there
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.
Updates
chartID
previously not getting initialized byinit()
has been fixedchartID
inaria-labelledby
andaria-describedby
attributesDemo screenshot or recording