Skip to content
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

Conversation

RiyaJethwa
Copy link
Contributor

@RiyaJethwa RiyaJethwa commented Jan 4, 2024

Updates

Demo screenshot or recording

image

@RiyaJethwa RiyaJethwa requested review from theiliad and a team as code owners January 4, 2024 14:25
Copy link

netlify bot commented Jan 4, 2024

Deploy Preview for carbon-charts-core ready!

Name Link
🔨 Latest commit 062bb6e
🔍 Latest deploy log https://app.netlify.com/sites/carbon-charts-core/deploys/65a00b35cb534b000818976a
😎 Deploy Preview https://deploy-preview-1722--carbon-charts-core.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jan 4, 2024

Deploy Preview for carbon-charts-react ready!

Name Link
🔨 Latest commit 062bb6e
🔍 Latest deploy log https://app.netlify.com/sites/carbon-charts-react/deploys/65a00b351b08d600086e567c
😎 Deploy Preview https://deploy-preview-1722--carbon-charts-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jan 4, 2024

Deploy Preview for carbon-charts-angular ready!

Name Link
🔨 Latest commit 062bb6e
🔍 Latest deploy log https://app.netlify.com/sites/carbon-charts-angular/deploys/65a00b351ca8180008cc0187
😎 Deploy Preview https://deploy-preview-1722--carbon-charts-angular.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@RiyaJethwa
Copy link
Contributor Author

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`)
Copy link
Member

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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

over here

image

@theiliad theiliad merged commit 21c81d7 into carbon-design-system:master Jan 11, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants