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

[Fabric] Add accessibilityHint support to UIA tree #12036

Merged
merged 5 commits into from
Aug 22, 2023

Conversation

YajurG
Copy link
Contributor

@YajurG YajurG commented Aug 17, 2023

Description

Type of Change

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

Why

Add accessibilityHint support and information to UIA Tree HelpText property for improved accessibility information.

What

Added code to update HelpText UIA field with property value passed in to the accessibilityHint prop. Previously, when the accessibilityHint prop was populated, the HelpText field in the UIA tree would remain empty.

Screenshots

Before:
image
After:
image

As can be seen the HelpText property is updated within the UIA tree when setting the accessibilityHint prop

Testing

Tested that HelpText UIA field is not populated when accessibilityHint is set before code change, and that HelpText UIA field is populated after code change. Used accessible.tsx sample page in playground for testing

Microsoft Reviewers: Open in CodeFlow

@YajurG YajurG marked this pull request as ready for review August 17, 2023 18:21
@YajurG YajurG requested a review from a team as a code owner August 17, 2023 18:21
Copy link
Contributor

@chiaramooney chiaramooney left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thanks for the testing screenshots. I would ping @FalseLobster to sign off as well!

Comment on lines +29 to +30
"requested": "[2.7.0-prerelease.210913003, )",
"resolved": "2.7.0-prerelease.210913003",
Copy link
Member

Choose a reason for hiding this comment

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

Why is this change generating impact to the lock file? It doesn't seem like it should be part of this PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had pulled from main into my branch - it may have been from that after running yarn as I was getting some errors locally after doing a rebase to remove some other commits that had unintentionally been included.

@YajurG YajurG merged commit 149778f into microsoft:main Aug 22, 2023
42 checks passed
@YajurG YajurG deleted the YajurG-fabric-accessibilityValue branch August 22, 2023 18:10
YajurG added a commit that referenced this pull request Aug 22, 2023
YajurG added a commit that referenced this pull request Aug 22, 2023
* Revert "[Fabric] Add accessibilityHint support to UIA tree (#12036)"

This reverts commit 149778f.

* Change files

---------

Co-authored-by: Yajur Grover <yajurgrover@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

5 participants