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

Add support for IToggleProvider #13329

Closed
Tracked by #11903
chiaramooney opened this issue Jun 11, 2024 · 0 comments · Fixed by #13622
Closed
Tracked by #11903

Add support for IToggleProvider #13329

chiaramooney opened this issue Jun 11, 2024 · 0 comments · Fixed by #13622
Assignees
Labels
Area: Accessibility Area: Fabric Support Facebook Fabric enhancement New Architecture Broad category for issues that apply to the RN "new" architecture of Turbo Modules + Fabric
Milestone

Comments

@chiaramooney
Copy link
Contributor

chiaramooney commented Jun 11, 2024

Documentation

IToggleProvider documentation: https://learn.microsoft.com/en-us/windows/win32/api/uiautomationcore/nn-uiautomationcore-itoggleprovider

Behavior

Components of control type CheckBox must implement the IToggleProvider. Components of control type Button, ListItem, MenuItem, and TreeItem should conditionally implement the IToggleProvider (See Documentation: https://learn.microsoft.com/en-us/windows/win32/winauto/uiauto-controlpatternmapping). The toggle state of the control should be used as input for the IToggleProvider data.

Implementation Plan

We should:

Implement the IToggleProvider APIs in CompositionDynamicAutomationProvider.
Set the list of controls who implement the IToggleProvider to be Button, ListItem, MenuItem, and TreeItem under certain conditions. To get more information on the conditions visit the page for the individual UIA control types.

For additional reference, see implementation of another provider on Fabric: #11874

To Be Clarified

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: Triage 🔍 New issue that needs to be reviewed by the issue management team (label applied by bot) label Jun 11, 2024
@chrisglein chrisglein added Area: Accessibility enhancement and removed Needs: Triage 🔍 New issue that needs to be reviewed by the issue management team (label applied by bot) labels Jun 13, 2024
@chrisglein chrisglein added this to the Backlog milestone Jun 13, 2024
@jonthysell jonthysell added the Area: Fabric Support Facebook Fabric label Jul 15, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the New Architecture Broad category for issues that apply to the RN "new" architecture of Turbo Modules + Fabric label Jul 15, 2024
@chiaramooney chiaramooney self-assigned this Aug 28, 2024
@chiaramooney chiaramooney modified the milestones: Backlog, Next Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Accessibility Area: Fabric Support Facebook Fabric enhancement New Architecture Broad category for issues that apply to the RN "new" architecture of Turbo Modules + Fabric
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants