Skip to content

[release/6.0-rc1] Accessibility: Fix ClickablePoint property when IsOffscreen is true #5130

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

Merged
merged 2 commits into from
Aug 20, 2021

Conversation

ryalanms
Copy link
Member

Fixes Issue #4631

Description

The automation ClickablePoint property shouldn't be an onscreen point, when the IsOffscreen property is true.

This is a port of @SamBent's Accessibility fix from main.

Customer Impact

Accessibility Insights for Windows flags this as an accessibility error.

Regression

Testing

The test cases that claimed to check this didn't work, for 3 independent reasons. I've repaired them in a companion PR in the test repo. That PR is much more interesting than this one.

Risk

Low. Changing this case to conform to the expected behavior, per UIA docs. The new return value is the same as we return in other "no clickable point" scenarios.

@ryalanms ryalanms requested a review from a team as a code owner August 20, 2021 18:09
@ghost ghost added the PR metadata: Label to tag PRs, to facilitate with triage label Aug 20, 2021
@ghost ghost requested review from fabiant3 and SamBent August 20, 2021 18:09
@ryalanms
Copy link
Member Author

Approved by Tactics via email.

@ryalanms ryalanms merged commit afd0727 into release/6.0-rc1 Aug 20, 2021
@vishalmsft vishalmsft deleted the fix.clickable.point.property branch February 15, 2022 05:35
@ghost ghost locked as resolved and limited conversation to collaborators Apr 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
PR metadata: Label to tag PRs, to facilitate with triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants