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: Announce new private chat messages in screenreader #12854

Merged

Conversation

PhMemmel
Copy link
Contributor

@PhMemmel PhMemmel commented Jul 28, 2021

What does this PR do?

Fixes the problem that screenreader doesn't announce when a new private chat has been started.
Also fixes the minor problem that singular and plural language strings were swapped.

If new private message pops up screenreader now announces the name of the chat (thus the username) and the new messages count. Note that I changed the language key in the singular case to be not injectable because this is needed in, e. g., German language where we have a different word for "1" in this case :-)

Closes Issue(s)

Closes #12845

Motivation

BBB should be as good as possible :-)

More

I'm pretty unexperienced in aria things, so not sure if this is the best way to handle this but it fixes the problem and all tests I did with nvda seemed to be fine.

@PhMemmel
Copy link
Contributor Author

Care: Backporting of this to 2.3.x would only close part of the underlying issue as there seem to be some more problems in 2.3.x: further messages aren't being announced

@PhMemmel PhMemmel marked this pull request as draft July 30, 2021 16:02
@PhMemmel
Copy link
Contributor Author

Announcement now includes chat name to distinguish announcements from different private chats.

@PhMemmel PhMemmel marked this pull request as ready for review July 30, 2021 17:05
@sonarcloud
Copy link

sonarcloud bot commented Jul 30, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Collaborator

@KDSBrowne KDSBrowne left a comment

Choose a reason for hiding this comment

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

Works well!

@antobinary antobinary merged commit ee06ec6 into bigbluebutton:develop Jul 30, 2021
@PhMemmel
Copy link
Contributor Author

thanks @mtsonline for finding the bug and helping me testing :-)

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.

Accessibility: Screenreader doesn't react to new private chat
3 participants