microsoft / axe-windows

Automated accessibility testing engine for Windows applications
MIT License
136 stars 62 forks source link

feat(async-api): Restore old signature #776

Closed DaveTryon closed 1 year ago

DaveTryon commented 1 year ago

Details

Changes in #767 removed a parameter and from the public constructor of DesktopElementAncestry and its associated plumbing, since the field was never used in Axe.Windows. Unfortunately, AIWIn relies on this functionality here. This PR restores the property with a tiny refactor to (hopefully) make the code clearer.

I've confirmed that AIWin builds correctly with this change

Motivation

Part of async feature work

Context

Pull request checklist