Skip to content

Alert input box messages anytime shown#92531

Merged
isidorn merged 1 commit intomicrosoft:masterfrom
Charles-Gagnon:chgagnon/alwaysAnnounceMessage
Mar 12, 2020
Merged

Alert input box messages anytime shown#92531
isidorn merged 1 commit intomicrosoft:masterfrom
Charles-Gagnon:chgagnon/alwaysAnnounceMessage

Conversation

@Charles-Gagnon
Copy link
Contributor

This is a fix for an issue that was brought up in an accessibility review of Azure Data Studio : microsoft/azuredatastudio#9175

The issue is that if a message is shown the alert is read the first time - but if the user tabs out (hiding the message) and then back in (showing the message box again) the message is not read again which means that unless the user retained the context that a message was displayed they wouldn't know it was there.

The fix here is to always fire the alert whenever the message is displayed instead of just when showMessage is called (which isn't called when focus is gained through other means such as tab for example).

@isidorn
Copy link
Collaborator

isidorn commented Mar 12, 2020

@Charles-Gagnon thanks for your PR, this makes sense. I have tried it out and this works good for me.
Merging in.

@isidorn isidorn merged commit ed66bfe into microsoft:master Mar 12, 2020
@isidorn isidorn added this to the March 2020 milestone Mar 12, 2020
@isidorn isidorn added the accessibility Keyboard, mouse, ARIA, vision, screen readers (non-specific) issues label Mar 12, 2020
@Charles-Gagnon Charles-Gagnon deleted the chgagnon/alwaysAnnounceMessage branch March 12, 2020 14:53
@github-actions github-actions bot locked and limited conversation to collaborators Apr 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

accessibility Keyboard, mouse, ARIA, vision, screen readers (non-specific) issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants