Skip to content

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

Merged
ryalanms merged 2 commits into
release/6.0-rc1from
fix.clickable.point.property
Aug 20, 2021
Merged

ryalanms merged 2 commits into
release/6.0-rc1from
fix.clickable.point.property

Conversation

@ryalanms

Copy link
Copy Markdown
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 SamBent and fabiant3 August 20, 2021 18:09
@ryalanms

Copy link
Copy Markdown
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