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(composed-modal): moves aria-label from close icon to close button #4727

Merged
merged 3 commits into from
Nov 19, 2019
Merged

fix(composed-modal): moves aria-label from close icon to close button #4727

merged 3 commits into from
Nov 19, 2019

Conversation

abbeyhrt
Copy link
Contributor

@abbeyhrt abbeyhrt commented Nov 19, 2019

Closes #4707

This PR moves the aria-label that was on the Close20 icon to the close button removing this DAP violation. Also changes the default value of iconDescription to just 'Close'.

Screen Shot 2019-11-19 at 12 15 04 PM

Changelog

Changed

  • moved aria-label

Testing / Reviewing

Run DAP on the ComposedModal and make sure you do not see the above violation.

@abbeyhrt abbeyhrt requested a review from a team as a code owner November 19, 2019 18:17
@ghost ghost requested review from emyarod and joshblack November 19, 2019 18:17
@netlify
Copy link

netlify bot commented Nov 19, 2019

Deploy preview for the-carbon-components ready!

Built with commit b5f3820

https://deploy-preview-4727--the-carbon-components.netlify.com

@netlify
Copy link

netlify bot commented Nov 19, 2019

Deploy preview for carbon-components-react ready!

Built with commit b5f3820

https://deploy-preview-4727--carbon-components-react.netlify.com

@netlify
Copy link

netlify bot commented Nov 19, 2019

Deploy preview for carbon-elements ready!

Built with commit b5f3820

https://deploy-preview-4727--carbon-elements.netlify.com

@abbeyhrt abbeyhrt requested a review from dakahn November 19, 2019 19:12
Copy link
Contributor

@asudoh asudoh left a comment

Choose a reason for hiding this comment

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

LGTM 👍 - Thanks @abbeyhrt!

@asudoh asudoh merged commit fd1b01d into carbon-design-system:master Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AVT1 - Composed Modal DAP violations on close button
3 participants