Skip to content

[a11y] Improve session verification screens #5017

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

Merged
merged 15 commits into from
Jul 17, 2025

Conversation

bmarty
Copy link
Member

@bmarty bmarty commented Jul 11, 2025

Content

Improve session verification screen regarding accessibility.

Also remove PageTitle as it has become a duplicate of IconTitleSubtitleMolecule.

Motivation and context

Better accessibility

Closes https://github.com/element-hq/customer-success/issues/588

Screenshots / GIFs

Tests

  • Enable the screen reader
  • Perform an outgoing verification request
  • Perform in incoming verification request

Observe that the a11y experience is better.

Tested devices

  • Physical
  • Emulator
  • OS version(s):

Checklist

  • Changes have been tested on an Android device or Android emulator with API 24
  • UI change has been tested on both light and dark themes
  • Accessibility has been taken into account. See https://github.com/element-hq/element-x-android/blob/develop/CONTRIBUTING.md#accessibility
  • Pull request is based on the develop branch
  • Pull request title will be used in the release note, it clearly define what will change for the user
  • Pull request includes screenshots or videos if containing UI changes
  • You've made a self review of your PR

@bmarty bmarty requested a review from a team as a code owner July 11, 2025 13:59
@bmarty bmarty requested review from ganfra and removed request for a team July 11, 2025 13:59
@bmarty bmarty added the PR-Misc For other changes label Jul 11, 2025
Copy link
Contributor

github-actions bot commented Jul 11, 2025

📱 Scan the QR code below to install the build (arm64 only) for this PR.
QR code
If you can't scan the QR code you can install the build via this link: https://i.diawi.com/U1WAEf

Copy link

Copy link

codecov bot commented Jul 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.25%. Comparing base (9482442) to head (b547b6a).
Report is 39 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #5017   +/-   ##
========================================
  Coverage    80.24%   80.25%           
========================================
  Files         2191     2190    -1     
  Lines        59892    59895    +3     
  Branches      7524     7528    +4     
========================================
+ Hits         48061    48066    +5     
  Misses        9086     9086           
+ Partials      2745     2743    -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bmarty bmarty changed the title [a11y] Imrpove session verification screens [a11y] Improve session verification screens Jul 11, 2025
@@ -36,5 +36,9 @@ data class IncomingVerificationState(
data object Canceled : Step
data object Completed : Step
data object Failure : Step

val isTimeLimited: Boolean
Copy link
Member

Choose a reason for hiding this comment

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

Use a computed property instead?

Copy link
Member Author

Choose a reason for hiding this comment

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

cannot work in an interface :)

@@ -29,5 +29,11 @@ data class OutgoingVerificationState(
data class Verifying(val data: SessionVerificationData, val state: AsyncData<Unit>) : Step
data object Completed : Step
data object Exit : Step

val isTimeLimited: Boolean
Copy link
Member

Choose a reason for hiding this comment

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

Computed property too

@bmarty bmarty merged commit 2e0da99 into develop Jul 17, 2025
33 of 34 checks passed
@bmarty bmarty deleted the feature/bma/a11y/sessionVerification branch July 17, 2025 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR-Misc For other changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants