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: missing AT announcement for error when using Inspect HTML without dev tools open #2724

Merged

Conversation

dbjorge
Copy link
Contributor

@dbjorge dbjorge commented May 19, 2020

Description of changes

Addresses accessibility issue 1720062, noting that NVDA/Narrator don't announce the error message we show when you try to use the target page dialog's Inspect HTML button without dev tools open ("To use the Inspect HTML button, first open the developer tools (F12).").

Just adds role="alert" to the container for the message.

No visual change. Verified that it didn't read it before and does read it after in both NVDA and Narrator.

screenshot of the inspect HTML error message at issue

Pull request checklist

  • Addresses an existing issue: 1720062
  • Ran yarn fastpass
  • Added/updated relevant unit test(s) (and ran yarn test)
  • Verified code coverage for the changes made. Check coverage report at: <rootDir>/test-results/unit/coverage
  • PR title AND final merge commit title both start with a semantic tag (fix:, chore:, feat(feature-name):, refactor:). See CONTRIBUTING.md.
  • (UI changes only) Added screenshots/GIFs to description above
  • (UI changes only) Verified usability with NVDA/JAWS

@dbjorge dbjorge requested a review from a team as a code owner May 19, 2020 21:16
Copy link
Contributor

@JGibson2019 JGibson2019 left a comment

Choose a reason for hiding this comment

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

LGTM!

@dbjorge dbjorge merged commit 3f2f27c into microsoft:master May 19, 2020
@dbjorge dbjorge deleted the 1720062-inspect-html-dev-tools-alert branch May 19, 2020 22:29
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