A11Y: improve accessibility on event reactions. #4877
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Content
Build a text to be read by the screen reader when a reaction on a message is focused. Also tweak the label of the click button.
The following sentences can be read when a reaction is selected under a message:
1 member reacted with [emoji]. Double tap to react with [emoji]
[nb] members reacted with [emoji]. Double tap to react with [emoji]
You reacted with [emoji]. Double tap to remove reaction with [emoji]
You and 1 member reacted with [emoji]. Double tap to remove reaction with [emoji]
You and [nb] members reacted with [emoji]. Double tap to remove reaction with [emoji]
With:
[nb]
is the number of members who reacted using the same emoji.emoji
can be the emoji, for instance "thumb up" or "an image" for special case where an image has been used to react (text starting withmxc://
)Motivation and context
Improve accessibility of the application
Screenshots / GIFs
Tests
Tested devices
Checklist