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(Button): add danger variant assistive text #8222

Merged

Conversation

dakahn
Copy link
Contributor

@dakahn dakahn commented Mar 30, 2021

Closes #8220

Adds assistiveText for 'danger' button variant

Testing / Reviewing

  • Make sure that danger button doesn't throw any Accessibility Checker errors
  • With NVDA, JAWS, and VoiceOver ensure that "Danger" is read along with the button's label

@dakahn dakahn requested a review from a team as a code owner March 30, 2021 03:58
@netlify
Copy link

netlify bot commented Mar 30, 2021

Deploy preview for carbon-elements ready!

Built with commit 9a264f3

https://deploy-preview-8222--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Mar 30, 2021

Deploy preview for carbon-components-react ready!

Built without sensitive environment variables with commit 9a264f3

https://deploy-preview-8222--carbon-components-react.netlify.app

Copy link
Member

@tw15egan tw15egan left a comment

Choose a reason for hiding this comment

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

Voiceover correctly alerting danger on danger button variants

LGTM 👍 ✅

@dakahn dakahn requested a review from a team as a code owner March 31, 2021 17:01
@kodiakhq kodiakhq bot merged commit 10a1ed4 into carbon-design-system:main Apr 1, 2021
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.

Button doesn't communicate danger state to screen reader users
3 participants