Skip to content

Conversation

@chiaramooney
Copy link
Contributor

@chiaramooney chiaramooney commented Apr 28, 2022

Description

Type of Change

Erase all that don't apply.

  • New feature (non-breaking change which adds functionality)

Why

Implement importantForAccessibility="no-hide-accessibility". When specified on a view-based component should remove accessibility for the element itself and its descendants.

Resolves #5113

What

Recursively apply accessible={false} prop to children of view-based component.

Attempted implementation used by Garrison team but it was not sufficient for Desktop, as focusable elements were still focusable even after being removed from the UIA tree.

Testing

Tested in playground with multiple configurations of nested components.

Optional: Describe the tests that you ran locally to verify your changes.

Microsoft Reviewers: Open in CodeFlow

@chiaramooney chiaramooney requested review from a team as code owners April 28, 2022 01:24
@ghost ghost added the Area: Accessibility label Apr 28, 2022
@ghost
Copy link

ghost commented Apr 28, 2022

CLA assistant check
All CLA requirements met.

Copy link
Contributor

@TatianaKapos TatianaKapos left a comment

Choose a reason for hiding this comment

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

lgtm! :)

@chiaramooney chiaramooney merged commit a54f8cc into microsoft:main Apr 29, 2022
@chiaramooney chiaramooney deleted the cm-no-hide-acc branch April 29, 2022 16:24
@agniuks agniuks changed the title Implement importantForAccessibility="no-hide-accessibility" Implement importantForAccessibility="no-hide-descendants" Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for importantForAccessibility="no-hide-descendants" or equivalent

3 participants