Skip to content

Conversation

FalseLobster
Copy link

Please select one of the following

  • I am removing an existing difference between facebook/react-native and microsoft/react-native-macos 👍
  • I am cherry-picking a change from Facebook's react-native into microsoft/react-native-macos 👍
  • I am making a fix / change for the macOS implementation of react-native
  • I am making a change required for Microsoft usage of react-native

Summary:

During the merge for 0.73, accessibilityRole was accidentally put behind an #if block removing it from macOS's implementation. This simply restores the functionality of the prop to what it was in 0.72, but more changes are forthcoming to refactor and support the new role prop.

Changelog:

[MACOS] [FIXED] - Fixed accessibilityRole

Test Plan:

See before/after of Accessibility Inspector for accessibilityRole="button" changing from AXUnknown to AXButton

Screenshot 2023-12-19 at 12 11 20 PM
Screenshot 2023-12-19 at 12 12 18 PM

@FalseLobster FalseLobster requested a review from a team as a code owner December 19, 2023 20:25
@Saadnajmi
Copy link
Collaborator

Thanks for the PR! There’s issues with CI so I might have to force merge it. Can you also prepare the 0.73 version so I can merge both?

@FalseLobster FalseLobster changed the title Accessiblerolerefactor Fix accessibilityRole in 0.73-stable Dec 19, 2023
@FalseLobster
Copy link
Author

Thanks for the PR! There’s issues with CI so I might have to force merge it. Can you also prepare the 0.73 version so I can merge both?

This is the 0.73 PR. Did you mean main?

@Saadnajmi
Copy link
Collaborator

Thanks for the PR! There’s issues with CI so I might have to force merge it. Can you also prepare the 0.73 version so I can merge both?

This is the 0.73 PR. Did you mean main?

Oh yes, just noticed. Yes, main please. Also for future reference we try to prefix PRs to one of the stable branches with "[0.73] PR title" just so that it's easier to distinguish!

@FalseLobster
Copy link
Author

Thanks for the PR! There’s issues with CI so I might have to force merge it. Can you also prepare the 0.73 version so I can merge both?

This is the 0.73 PR. Did you mean main?

Oh yes, just noticed. Yes, main please. Also for future reference we try to prefix PRs to one of the stable branches with "[0.73] PR title" just so that it's easier to distinguish!

Yea, I just noticed that looking at other PRs. Noted 😅. I'll get the main one out shortly.

@FalseLobster FalseLobster changed the title Fix accessibilityRole in 0.73-stable [0.73] Fix accessibilityRole Dec 19, 2023
@FalseLobster FalseLobster mentioned this pull request Dec 19, 2023
4 tasks
@Saadnajmi Saadnajmi merged commit bba6582 into microsoft:0.73-stable Dec 20, 2023
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