Comments (5)
This issue has been marked as ready for team triage; we will triage it in our weekly review and update the issue. Thank you for contributing to Accessibility Insights!
from axe-windows.
@jasonmohyla ,
When you say, "I have a POC using Axe to find the login controls and enter text (username and password so users don't know them)...", You're saying you are getting the UIA elements from axe-windows and setting focus to them and performing operations on them?
If my understanding as described above is correct, you would probably be better off just adding some UI Automation code to your app which does what you want directly rather than going through the trouble of using axe-windows. It's pretty easy in UIA to get the windows element and search for decendent elements using the IUAutomationElement7 interface.
from axe-windows.
Hi, @jasonmohyla! Axe.Windows
has 2 interfaces--the publicly supported one documented here, and the unsupported one that we use for Accessibility Insights for Windows (also owned by our team). This unsupported interface may change at any time and in any way, depending on product needs. There are absolutely no guarantees for build-to-build compatibility, and we actively try to steer people away from it--that's why the DefaultActionContext
class isn't public, and why we want to keep it that way.
If you're willing to live with that risk, then the workaround is trivial. Everything used by the DefaultActionContext
is already public, so you can just make your own copy of the class in your code (MIT license allows this), then use your class instead of ours. I've written a tiny sample that does this: ActionContextDemo.zip
The "safe" option--as in very unlikely to change under you--is to call into UIA directly, as @RobGallo already suggested. Axe.Windows
ultimately gets its data from UIA, and you're free (again, MIT license) to copy the code that you need. If your code just needs a list of elements, then Axe.Windows
is adding a lot of stuff that you aren't actually using.
Thanks for your interest in Axe.Windows! I'm going to close this as out of scope, but best of luck!
from axe-windows.
This issue has been marked as being beyond the support scope of Accessibility Insights. It will now be closed automatically for house-keeping purposes.
from axe-windows.
from axe-windows.
Related Issues (20)
- [BUG] Got Error when using CaptureAction.SetLiveModeDataContext HOT 1
- ScanAsync needs overloads to scan process's UIA sub-trees HOT 2
- [Feature Request] Need Task<ScanResults> IScanner.ScanAsync() HOT 6
- [Feature Request] NativeMethods.SetProcessDPIAware() should be reset after scan HOT 6
- [Feature Request] Localization support in the CI/DI pipeline HOT 5
- CustomUIA settings have some overlap between async scans HOT 2
- Handle BoundingRectangleSizeReasonable rule for elements with area of less than 25 pixels HOT 15
- [Feature Request] Make scans against Chromium-based UIs more actionable HOT 9
- [BUG] Should NameIsInformative rule filter out more frameworks? HOT 6
- Re-enable Scan_Integration_WebViewSample test in PR build ? HOT 2
- [Feature Request] Provide a way for .a11ytest files to be retained even if a scan produces no errors HOT 6
- Update WiX from v3 to v4 HOT 4
- [BUG] WinForms edit controls don't support TextPattern until .NET Framework 4.8.1 HOT 2
- [BUG] MSI installer should warn user about unsupported OS HOT 2
- [General Question] How to disable rules HOT 3
- [General Question] False positive for "The Name property must not include the element's control type." HOT 1
- [General Question] Why does axe-windows not include axe-core and its rules? HOT 4
- [BUG] *.yml and *.targets files should contain copyright headers
- [BUG] Axe.Windows files are signed with the 3rd party certificate HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from axe-windows.