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 bug causing an aria alert to not be shown the third time #55542

Merged

Conversation

JacksonKearl
Copy link
Contributor

@JacksonKearl JacksonKearl commented Aug 1, 2018

(and odd numbers thereafter)

Closes #27655.

It seems the screen reader will not read the same alert text twice. We get around that by incrementing the number of times seen and using that as part of the text.

The previous implementation attempted to get around this by flip/flopping between msg and msg (occurred again) as the message text. However, this doesn't work because the msg would never get read after the first time. This is probably a bug in NVDA.

@JacksonKearl JacksonKearl self-assigned this Aug 1, 2018
Copy link
Member

@alexdima alexdima left a comment

Choose a reason for hiding this comment

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

👍

@JacksonKearl JacksonKearl merged commit 4320ee6 into microsoft:master Aug 2, 2018
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Second time proposal is selected it is not read in VoiceOver
3 participants