Skip to content

Conversation

@mdjastrzebski
Copy link
Contributor

@mdjastrzebski mdjastrzebski commented Nov 12, 2025

Summary:

Resolves #53240

Resolves an Android-only issue where a top-level <Text role="link">Link Text</Text> would generate two accessibility (screen reader) focus steps:

  1. "Link Text. Link. Links available, use tap with 3 fingers to view."
  2. "Link Text. Link. Double-tap to activate."

This behavior was inconsistent with iOS behavior, which generated a single screen reader step, resulting in a poor user experience due to unnecessary repetition of information.

This PR resolves the issue in a way that allows mixing plain text and links while still yielding additional focus steps for nested links if there is any other text present or if there are multiple links.

Android after

Android.Link.Text.Stops.-.After.mp4

Android before

Android.Link.Text.Stops.-.Before.mp4

iOS (for comparison)

iOS.Link.Text.Stops.mp4

Changelog:

Test Plan:

Open RN Tester on "Text with link role" example and test with screen reader.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 12, 2025
@facebook-github-bot facebook-github-bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Nov 12, 2025
@mdjastrzebski mdjastrzebski force-pushed the fix/android-text-role-link branch from 9ebbe9b to 6cf213e Compare November 12, 2025 15:34
@mdjastrzebski mdjastrzebski force-pushed the fix/android-text-role-link branch from 6cf213e to c59d118 Compare November 12, 2025 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

a11y(android): <Text role="link" /> triggers multiple screen reader focus stops

2 participants