Skip to content

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

Merged
meta-codesync[bot] merged 1 commit into
react:mainfrom
Grantapher:export-D116668886
Nov 30, 2026
Merged

meta-codesync[bot] merged 1 commit into
react:mainfrom
Grantapher:export-D116668886

Conversation

@Grantapher

@Grantapher Grantapher commented Nov 25, 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]

Reviewed By: javache

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 Nov 25, 2026
@meta-codesync

meta-codesync Bot commented Nov 25, 2026

Copy link
Copy Markdown

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

@javache javache left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Review automatically exported from Phabricator review in Meta.

Grantapher pushed a commit to Grantapher/react-native that referenced this pull request Nov 25, 2026
Summary:
Pull Request resolved: react#60300

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]

Reviewed By: javache

Differential Revision: D116668886
Grantapher pushed a commit to Grantapher/react-native that referenced this pull request Nov 25, 2026
Summary:
Pull Request resolved: react#60300

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]

Reviewed By: javache

Differential Revision: D116668886
Grantapher pushed a commit to Grantapher/react-native that referenced this pull request Nov 25, 2026
Summary:
Pull Request resolved: react#60300

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]

Reviewed By: javache

Differential Revision: D116668886
@meta-codesync meta-codesync Bot changed the title Inherit text's role and accessibilityRole together (#58022) Inherit text's role and accessibilityRole together (#60300) Nov 25, 2026
@Grantapher
Grantapher force-pushed the export-D116668886 branch 2 times, most recently from b14faff to eeb7f96 Compare November 30, 2026 19:03
Grantapher pushed a commit to Grantapher/react-native that referenced this pull request Nov 30, 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]

Reviewed By: javache

Differential Revision: D116668886
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]

Reviewed By: javache

Differential Revision: D116668886
Grantapher pushed a commit to Grantapher/react-native that referenced this pull request Nov 30, 2026
Summary:
Pull Request resolved: react#60300

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]

Reviewed By: javache

Differential Revision: D116668886
@meta-codesync
meta-codesync Bot merged commit 3ea6c42 into react:main Nov 30, 2026
99 of 100 checks passed
@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @Grantapher in 3ea6c42

When will my fix make it into a release? | How to file a pick request?

@react-native-bot react-native-bot added the Merged This PR has been merged. label Nov 30, 2026
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. Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants