Repository navigation
Expose avatar controls as buttons to screen readers - #8318
Open
RanjithRagavan wants to merge 1 commit into
Open
RanjithRagavan wants to merge 1 commit into
RanjithRagavan wants to merge 1 commit into
Conversation
Contributor
|
Thank you for your contribution! Here are a few things to check in the PR to ensure it's reviewed as quickly as possible:
|
Author
|
Hi, I don’t have permission to add labels to this repository. Could someone add |
Author
|
/code-review |
Member
|
Thanks for the PR. I will propose an alternative PR that fix all the similar |
5 of 12 tasks
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Expose the avatar picker and avatar action-sheet items as buttons to accessibility services.
Add Compose tests for the empty and selected avatar states, the action-sheet roles, and click handling.
Motivation and context
Fixes #8292.
The picker's custom semantics replaced its button role, and the action-sheet rows were clickable without a role. Screen readers therefore did not announce these controls as buttons.
Screenshots / GIFs
No visual changes. The existing day/night previews pass Paparazzi verification.
Tests
./gradlew :libraries:matrixui:testDebugUnitTest :features:createroom:impl:testDebugUnitTest :libraries:matrixui:ktlintCheck :libraries:matrixui:detektFull— 105 tests passed, along with ktlint and detekt../gradlew test --continue./gradlew runQualityChecks --continue./gradlew verifyPaparazziDebug./gradlew :app:assembleGplayDebugTested devices
Checklist
/code-reviewrun in a fresh session) before requesting a human review.