-
-
Notifications
You must be signed in to change notification settings - Fork 637
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
Support UI Automation in Microsoft Edge Chromium and Google Chrome #10555
Comments
Hi, I think there is an issue on Chromium Edge/UIA, but I think we should use this one. CC @LeonarddeR
|
I closed the other issue. |
The native UI Automation is enabled by default in microsoft edge starting with version 80.0.355.0 (Official Build) canary. |
Even in the stable build of edge, UIA now turns out to be the default. |
I reported it to Microsoft. they said there should be UIA support on the nvda side. they also offer to turn it off manually, but not everyone knows how to do it. I don't think a lot of people will be able to turn it off in edge. |
The problem is that NVDA doesn't create a tree interceptor to activate
browse mode. This is not something on Microsofts end.
|
In Edge Cromium 81 which is the last stable version, UIA is enabled by default and browse mode seems to work as expected. |
On my machine (Chrome 83) with the |
Hi, this is because UIA will be ignored from document window itself. Other controls will be recognized as UIA if they are UIA elements. Thanks.
|
Makes sense, so this issue is still not resolved (we still need to implement support for UIA in Chrome). |
CC: @feerrenrut after our private discussion I think this is maybe nice to keep an eye on for the future. |
Personally, I think a first pr should address two things:
|
Why enforce IA2? Wouldn't it make sense to make the flag be for enabling UIA, similar to Word and Windows Console? |
For these feature flags its important to additionally include an explicit "use default" option, so for a binary decision, it becomes ternary:
This is particularly important if developers can foresee that the default setting may need to change. It allows developers to take the users explicit preferences into account during an upgrade procedure. |
Yes, but like UIA console, don't expose this option in the GUI until it becomes default (compare the current checkbox to the combo box in #10964). |
No. This does not solve the problem I outlined. It must be exposed in the GUI otherwise the user is missing one of the explicit choices. They are left with only:
If the user specifically wants to use Y until some amount of time after X has become the default doing this will break their config. To provide an effective update path you need three options for a binary setting:
This allows those who just want the recommended settings to get them. Those who want to try the latest thing to do so, and those who want to stay on the "tried and true" as long as possible to do so also. |
I don't know how important it is, but recently I was looking for the setting "Native UI Automation" in "edge://flags" in 64-bit Microsoft Edge Canary version 84.0.499.0 and did not find it by searching for "Native UI Automation" from within the provided search field. Could it be that the setting was removed and now UIA is the default and could not be changed as we could in the past? I don't know if this matters for this discussion, but I decided to share it with you just in case it does matter. |
I will do so in #11079, though now it is still binary, and really broken if enabled. I actually followed @codeofdusk's suggestion and worded it positively towards UIA instead. |
I implemented a prototype in #11079 that works somehow. However, it looks like browse mode is pretty broken in that it keeps bouncing all over the page in complexer documents. Therefore, I don't consider it good enough to go into a release build. May be either @feerrenrut or @michaelDCurran could elaborate on what the current plans are with Chromium and UIA. I see several solution.
|
I vote for option 3 if the freeze can be fixed. |
Just to document it, and it might be handy to know about for UIA in Chrome is the docs for "Runtime two way IAccessible2 to UI Automation elements look up via unique id": https://chromium.googlesource.com/chromium/src/+/master/docs/accessibility/ia2_to_uia.md |
Should have been closed with PR #12025 |
Is your feature request related to a problem? Please describe.
When starting Chrome with the
--enable-experimental-ui-automation
flag, browse mode is not functional.Describe the solution you'd like
Support for UIA Chrome, including browse mode and full functionality of all widgets.
Describe alternatives you've considered
Continue to use the IA2 implementation and forcibly ignore UIA (similar to #7497) if UIA becomes no longer behind a feature flag. However, UIA would likely improve performance on large pages.
The text was updated successfully, but these errors were encountered: