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

Initial support for UIA and tab navigation for a child Island #14305

Merged
merged 5 commits into from
Jan 29, 2025

Conversation

JesseCol
Copy link
Contributor

@JesseCol JesseCol commented Jan 24, 2025

Description

This change stiches together the UIA tree between a React Native content and a child island it might be hosting. It also provides initial support for tab navigation into and out of a child island.

Not working yet:

  • ElementFromProvider / UIA hit testing doesn't work yet, only tree navigation so far.

Type of Change

Erase all that don't apply.

  • Bug fix (non-breaking change which fixes an issue)

Why

This is progress toward the goal of RNW being able to properly host a XamlIsland so a RNW fabric app can use Xaml controls.

Screenshots

When UseWinUI3Experimental, we can traverse the UIA tree downward into Xaml and upward back to RNW:

RnwXamlUia

Testing

I've tested this manually using the Playground-Composition app with UseWinUI3Experimental set to true.

Changelog

Should this change be included in the release notes: no

Microsoft Reviewers: Open in CodeFlow

@JesseCol JesseCol requested a review from a team as a code owner January 24, 2025 22:19
@JesseCol
Copy link
Contributor Author

/azp run Secure PR

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@JesseCol JesseCol merged commit a95adab into main Jan 29, 2025
79 checks passed
acoates-ms pushed a commit to acoates-ms/react-native-windows that referenced this pull request Jan 29, 2025
…oft#14305)

* Basic support for stitching the UIA tree for a ContentIslandComponentView's child

* Updated comment

* Change files

* Support shift+tab, and move Automation event handlers to ContentIslandComponentView
acoates-ms added a commit that referenced this pull request Jan 31, 2025
… factor (#14318)

* Fix crash when currently focused element gets marked as enableFocusRing=false (#14306)

* Fix crash when currently focused element gets marked as enableFocusRing=false

* Change files

* [Fabric] Use PopupWindowSiteBridge for Modal when USE_EXPERIMENTAL_WINUI3 is true (#14284)

* add modal implementation with PopupWindowSiteBridge

* Change files

* add conditional

* feedback

* Initial support for UIA and tab navigation for a child Island (#14305)

* Basic support for stitching the UIA tree for a ContentIslandComponentView's child

* Updated comment

* Change files

* Support shift+tab, and move Automation event handlers to ContentIslandComponentView

* Allow portals to have independent layout constraints and scale factor (#14315)

* Allow portals to have independent layout constraints and scale factor

* format

* change files

* fix

* Round Focus visuals by default, fix nudge rendering (#14312)

* Round Focus visuals by default, fix nudge rendering

* Change files

* change files

* fix

* fix

* fix

---------

Co-authored-by: Tatiana Kapos <[email protected]>
Co-authored-by: JesseCol <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants