Skip to content

Inherit text's role and accessibilityRole together (#58022) - #58022

Open
twasilczyk wants to merge 1 commit into
react:mainfrom
twasilczyk:export-D116668886
Open

twasilczyk wants to merge 1 commit into
react:mainfrom
twasilczyk:export-D116668886

Conversation

@twasilczyk

@twasilczyk twasilczyk commented Aug 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

Inheriting role and accessibilityRole independently leads to some links inheriting role=heading while setting their own accessibilityRole=link. This caused the former to overrule the latter, missing link detection.

Changelog: [Internal]

Differential Revision: D116668886

@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 Aug 19, 2026
@meta-codesync

meta-codesync Bot commented Aug 19, 2026

Copy link
Copy Markdown

@twasilczyk has exported this pull request. If you are a Meta employee, you can view the originating Diff in D116668886.

twasilczyk added a commit to twasilczyk/react-native that referenced this pull request Aug 19, 2026
Summary:
Pull Request resolved: react#58022

Inheriting `role` and `accessibilityRole` independently leads to some links inheriting `role=heading` while setting their own `accessibilityRole=link`. This caused the former to overrule the latter, missing link detection.

Changelog: [Internal]

Differential Revision: D116668886
@meta-codesync meta-codesync Bot changed the title Inherit text's role and accessibilityRole together Inherit text's role and accessibilityRole together (#58022) Aug 19, 2026
twasilczyk added a commit to twasilczyk/react-native that referenced this pull request Oct 14, 2026
Summary:

Inheriting `role` and `accessibilityRole` independently leads to some links inheriting `role=heading` while setting their own `accessibilityRole=link`. This caused the former to overrule the latter, missing link detection.

Changelog: [Internal]

Differential Revision: D116668886
Summary:
Pull Request resolved: react#58022

Inheriting `role` and `accessibilityRole` independently leads to some links inheriting `role=heading` while setting their own `accessibilityRole=link`. This caused the former to overrule the latter, missing link detection.

Changelog: [Internal]

Differential Revision: D116668886

This branch has not been deployed

No deployments
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. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant