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
NVDA not offering Browse Mode for custom browser app #13493
Comments
Is anything holding you back from using Webview 2? I tried to follow the steps to reproduce, but am getting an enormous bunch of errors and therefore can't build the project. |
Not sure whether there is a hard requirement for CEF. But at least it would involve refactoring a large codebase.
I just created a stripped-down demo here. Please open this in Visual Studio, switch to Release mode and simply run it. (if there are errors, you might need to "Restore Nuget Packages" by right-clicking on the Solution in Solution Explorer). Same issue in that demo. |
The demo works for me. |
I have just added a second project, which uses Webview 2 instead of CEF. Please pull and then run the second project in the solution. Same issue there. NVDA does not switch to Browse Mode when Insert+Space is pressed. Is there a Webview 2 scenario which has been tested to support Browse Mode? |
When below |
Right. Thanks. |
Try using the following command line arg. https://peter.sh/experiments/chromium-command-line-switches/#force-renderer-accessibility See https://github.com/cefsharp/CefSharp/wiki/General-Usage#cefsettings-and-browsersettings for example of setting command line arg. |
I tried |
Please note that JAWS is able to use Browse Mode on
|
Do I need to build cefclient myself? I can't find an executable in the tarball you mentioned. |
My fault, I posted the wrong link, sorry! Here's the one with the client: Unzip it and switch to the Release folder, then run Yes, JAWS seems to offer browse mode, both in our actual app and in |
Interesting enough, as long as I leave out the |
Right. Thanks Leonard. Gonna investigate. |
Assuming this issue occurs only when browser control is in a separate thread this is indeed an NVDA issue but should be closed as a duplicate of #8553 |
pretty sure this can indeed be classified as a duplicate of #8553. Closing this issue in favor of that one. |
I wrote a proto type to address this. See #13542 |
…ead (#13542) Fixes #8553 Summary of the issue: When an app offers IAccessible2 as its accessibility interface, NVDA needs to install a COM proxy in the UI thread to utilize IA2. However, some apps, particular those that embed Chromium Embedded Controls, have a separate UI thread for the browser control. IAccessible2 and therefore browse mode doesn't work in these controls. Description of how this pull request fixes the issue: Register IA COM Proxy in all threads that ever send focus or foreground win events Testing strategy: Tested with the Chromium Embedded Framework test case from #13493 (comment)
Our software runs a Chromium browser control. Out of some reason, the browser seems to be not recognized by NVDA as a browser, because it is not possible to switch from Focus Mode to Browse Mode.
This is either a bug in NVDA, or a problem with our app. In the second case, we need to know how to adapt our application such that NVDA recognizes it as a browser, or simply as "browse mode ready".
Steps to reproduce:
CefSharp.WinForms.Example
in the CefSharp codebase (download the whole codebase, open the solution CefSharp3.sln in Visual Studio and select the "CefSharp.WinForms.Example" as the startup project).Actual behavior:
NVDA does not switch from Focus Mode to Browse Mode.
Expected behavior:
NVDA should switch from Focus Mode to Browse Mode, so that the text contents in the browser are read by NVDA.
System configuration
NVDA installed/portable/running from source:
installed
NVDA version:
2021.3.1
Windows version:
Windows 10 Home 21H2
Name and version of other software in use when reproducing the issue:
CefSharp 99.2.90.0
Other information about your system:
Other questions
Does the issue still occur after restarting your computer?
yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
no
If NVDA add-ons are disabled, is your problem still occurring?
no add-ons installed
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
yes
The text was updated successfully, but these errors were encountered: