Skip to content

Conversation

Saadnajmi
Copy link
Collaborator

This is part of a series of PRs where we are cherry-picking fixes from #2117 to update our Fabric implementation on macOS.

TODO

Summary:

Pick a few changes related to implementing accessibility role

Test Plan:

CI should pass.

@Saadnajmi Saadnajmi requested a review from a team as a code owner November 21, 2024 22:29
@Saadnajmi Saadnajmi marked this pull request as draft November 21, 2024 22:29
@Saadnajmi Saadnajmi removed the request for review from FalseLobster August 3, 2025 00:56
@Saadnajmi Saadnajmi force-pushed the fabric/a11y-role branch 2 times, most recently from 28a5937 to 148e175 Compare August 11, 2025 22:58
Nick Lefever and others added 4 commits August 12, 2025 11:15
Summary:
Paper was rendering text as AXStaticText. This diff updates the `RCTParagraphComponentView` to propagate the same role in Fabric for text.

This change will allow to select UI elements based on the text contents.

Test Plan:
Use the Accessibility Inspector in Zeratul with Fabric enabled. With the changes the text elements are presented in the a11y hierarchy with AXStaticText:
 {F1162808272}

Reviewers: shawndempsey, chpurrer, #rn-desktop

Reviewed By: chpurrer

Differential Revision: https://phabricator.intern.facebook.com/D51736932

Tasks: T170938725

Tags: uikit-diff
Summary:
Paper was rendering text as AXStaticText. This diff updates the `RCTParagraphComponentView` to propagate the same role in Fabric for text.

This change will allow to select UI elements based on the text contents.

Test Plan:
Use the Accessibility Inspector in Zeratul with Fabric enabled. With the changes the text elements are presented in the a11y hierarchy with AXStaticText:
 {F1162808272}

Reviewers: shawndempsey, chpurrer, #rn-desktop

Reviewed By: chpurrer

Differential Revision: https://phabricator.intern.facebook.com/D51736931

Tasks: T170938725
Summary:
Paper was rendering text as AXStaticText. This diff updates the `RCTParagraphComponentView` to propagate the same role in Fabric for text.

This change will allow to select UI elements based on the text contents.

Test Plan:
Use the Accessibility Inspector in Zeratul with Fabric enabled. With the changes the text elements are presented in the a11y hierarchy with AXStaticText:
 {F1162808272}

Reviewers: shawndempsey, chpurrer, #rn-desktop

Reviewed By: chpurrer

Differential Revision: https://phabricator.intern.facebook.com/D51736933

Tasks: T170938725
@Saadnajmi Saadnajmi force-pushed the fabric/a11y-role branch 2 times, most recently from cb1f8ed to bbef9bb Compare August 13, 2025 21:03
@Saadnajmi Saadnajmi marked this pull request as ready for review August 19, 2025 18:10
@Saadnajmi Saadnajmi merged commit b4b142a into microsoft:main Aug 20, 2025
23 checks passed
@Saadnajmi Saadnajmi deleted the fabric/a11y-role branch September 4, 2025 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants