Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix new role prop after JS-Shim was removed by Meta #2101

Merged
merged 2 commits into from
Mar 22, 2024

Conversation

FalseLobster
Copy link

Summary:

main targeted PR of #2100

Prior to 0.73, the new role prop was remapped to accessibilityRole on the JS-side. Starting with facebook#37304, the work needs to be completed on the native side. Since the new prop is ARIA inspired, the mappings are taking from the ARIA Core AAM which disagrees with some of the mappings used in the old accessibilityRole prop. Users of the old prop are unaffected, but the new prop will take the mappings from the spec.

Test Plan:

Tested a variety of permutations of accessibilityRole and role to confirm the behavior looks correct in Accessibility Inspector

@FalseLobster FalseLobster requested a review from a team as a code owner March 22, 2024 00:00
@FalseLobster FalseLobster merged commit 26ab78e into microsoft:main Mar 22, 2024
16 checks passed
@FalseLobster FalseLobster deleted the allyrolemain branch March 22, 2024 19:14
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.

2 participants