Skip to content

Screen Reader: Global: Toggle/checkbox label announced twice, as text and programmatic label #77497

Closed

Description

@elisenwazuoke

Action Performed:

Precondition: User is logged in

  1. Using VoiceOver on iOS or TalkBack on Android, open the app
  2. Swipe right to focus the Account tab and double-tap to activate it
  3. Swipe right to focus the Preferences button and double-tap to activate it
  4. Swipe right to focus the toggle buttons and note the focus behavior of the toggle buttons and their adjacent texts

Global issue for all toggle buttons and checkboxes

Expected Result:

Only the toggle buttons should receive focus.
The visible text next to the toggle should not be focusable and should be hidden from assistive technology.
Screen readers announce the label once via the toggle, for example:
"Receive relevant feature updates and Expensify news, switch, on".

Actual Result:

The visible text is focusable separately, resulting in redundant announcements:
The text label is announced as "Receive relevant feature updates and Expensify news", and then;
The toggle itself is announced as "Receive relevant feature updates and Expensify news, switch, on".

This creates duplicate unnecessary announcement for screen reader users.

Area issue was found in:

Preferences and Subsections

Failed WCAG checkpoints

WCAG 1.3.2 Meaningful Sequence
https://www.w3.org/WAI/WCAG22/Understanding/meaningful-sequence

User impact:

A meaningful sequence that matches a logical reading order helps people who rely on assistive technologies that read content aloud. The meaning evident in the sequencing of the information in the default presentation will be the same when the content is presented in spoken form.

Suggested resolution:

Hide the visible text from screen readers using accessible={false}, since it is already included in the toggle’s accessibilityLabel.
This way, only the toggle switch receives focus, preventing redundant announcements.
https://appt.org/en/docs/react-native/samples/accessibility-focusability
https://reactnative.dev/docs/accessibility#accessible

Environment(s)

Apple iPhone 14 Pro - iOS 18.7.1, Wi-Fi - Native (No mobile browser)
Samsung Galaxy Note10 Plus - Android 12, H0T Mobile - Native (No mobile browser)

Screenshots/Videos

Image
Bug7008154_1763623685608.Toggle.checkbox_label_announced_twice__as_text_and_programmatic_label.mp4

Version Number: Production
Reproducible in staging?: NA
Reproducible in production?: Yes
Email or phone of affected tester (no customers): NA
Logs: https://stackoverflow.com/c/expensify/questions/4856 NA
Notes/Photos/Videos: Any additional supporting documentation Yes
Expensify/Expensify Issue URL: https://platform.applause.com/company/12102/products/36628/community-issues/7008154
Issue reported by: NA
Slack conversation: NA

Activity

  1. melvin-bot commented on Jan 6, 2026

    @melvin-bot

    This issue has not been updated in over 15 days. eroding to Monthly issue.

    P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

  2. Uzaifm127 commented on Jan 10, 2026

    @Uzaifm127
    Contributor

    Added proposal in the parent issue.

  3. melvin-bot commented on Feb 23, 2026

    @melvin-bot

    This issue has not been updated in over 15 days. eroding to Monthly issue.

    P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

  4. rushatgabhane commented on Feb 26, 2026

    @rushatgabhane
    Member

    fixed by #79243

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    AccessibilityIssues affecting WACG accessibility on any platform.MonthlyKSv2ReviewingHas a PR in review

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions