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(ComboBox): removes all DAP violations #4201

Merged
merged 7 commits into from
Oct 8, 2019
Merged

fix(ComboBox): removes all DAP violations #4201

merged 7 commits into from
Oct 8, 2019

Conversation

abbeyhrt
Copy link
Contributor

@abbeyhrt abbeyhrt commented Oct 3, 2019

(Finally) Closes #3260

Adds isOpen check in aria-owns and aria-controls on input so that it is null if the dropdown is closed. Also changes the color of the numbers in the "items as components' story so it doesn't fail a color contrast check.

Changelog

Changed

  • Checks for isOpen to apply aria-controls and owns
  • Changes color of numbers in "items as components" story to blue.

Testing / Reviewing

Run DAP on the open and closed Combobox and confirm that there are no violations.

@abbeyhrt abbeyhrt requested a review from a team as a code owner October 3, 2019 17:25
@netlify
Copy link

netlify bot commented Oct 3, 2019

Deploy preview for carbon-elements failed.

Built with commit 12d75be

https://app.netlify.com/sites/carbon-elements/deploys/5d9d1c5cbfd7450008af7d3c

@netlify
Copy link

netlify bot commented Oct 3, 2019

Deploy preview for the-carbon-components ready!

Built with commit 12d75be

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

@netlify
Copy link

netlify bot commented Oct 3, 2019

Deploy preview for carbon-components-react ready!

Built with commit 12d75be

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

Copy link
Contributor

@aledavila aledavila left a comment

Choose a reason for hiding this comment

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

🎉

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!

@joshblack joshblack merged commit febda85 into carbon-design-system:master Oct 8, 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.

AVT 1 - React Combobox has DAP violations
6 participants