Skip to content

fix: prevent toast message visibility when pressing copy failure details button from an insecure target page#4234

Merged
jalkire merged 14 commits intomicrosoft:mainfrom
kennyzhen13:copy-failure-details-fix
May 19, 2021
Merged

fix: prevent toast message visibility when pressing copy failure details button from an insecure target page#4234
jalkire merged 14 commits intomicrosoft:mainfrom
kennyzhen13:copy-failure-details-fix

Conversation

@kennyzhen13
Copy link
Copy Markdown
Contributor

Details

This PR is a continuation of PR #4170 and addresses the bug described in #4211.

Previously, from an insecure target page, if a user clicks the "Copy failure details" button then two messages will render:

  1. help message under the button that reads "To copy failure details, first open the Accessibility Insights for Web page."
  2. toast pop-up reading "Failed to copy failure details."

Now, this PR removes the aforementioned toast pop-up. Example screenshot is shown below.
helpMessage

Motivation

Addresses bug #4211

Context

Pull request checklist

  • Addresses an existing issue: [bug] screen reader does not read all newly rendered text #4211
  • 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

@kennyzhen13 kennyzhen13 requested a review from a team as a code owner May 14, 2021 23:35
@jalkire
Copy link
Copy Markdown
Contributor

jalkire commented May 19, 2021

Thank you for another contribution! We will get it reviewed shortly 🙂

Copy link
Copy Markdown
Contributor

@jalkire jalkire left a comment

Choose a reason for hiding this comment

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

This looks like an improvement to me! Thank you!

@jalkire jalkire merged commit 0cf0164 into microsoft:main May 19, 2021
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