-
Notifications
You must be signed in to change notification settings - Fork 15.1k
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
Not able to link BrowserView accessibility tree to the main accessibility tree #26305
Comments
@codebytere I have attached a link to the repository for source code to reproduce the issue |
Some digging into this unfortunately confirms that this isn't possible given that way that |
See, the accessibility tree of BrowserView when embedded inside a BrowserWindow is separate & is not linked. So our use case here is when the BrowserWindow is focussed which has BrowserView embedded inside that, then the landmark enumeration for links or headings should show all the possible headings or links on that page. I agree with your point that accessible tab navigation between the webContents of BrowserView embedded inside BrowserWindow is possible but an important accessibility aspect of landmark enumeration as described in this comment is missing and should be fixed or there should a workaround to achieve this functionality. Please check the video(with audio) for more clarity on the issue |
Preflight Checklist
Issue Details
Problem description
I have a use case where I have embedded a browser view inside browser window. Since browser view is not part of the DOM hierarchy hence the accessibility tree is not linked to the main window(parent browser window).
So my use case is to link the browser view accessibility tree with the main window accessibility tree such that screen readers(JAWS/NVDA) are able to enumerate all the possible landmarks for navigation
Please check this repository for source code to reproduce the issue
https://github.com/sarthak-saxena/electron-browserview-issue
Please also find attached a video in which we can see that keyboard navigation is not moving focus to browser view since it is not part of the main BrowserWindow accessibility tree.
![Browser view not part of ax tree (2)](https://user-images.githubusercontent.com/9450414/98878358-c994a600-24a8-11eb-8993-eb3dc0364b03.gif)
Expected Behavior
There should be a way to link the accessibility tree of browser view to the main AX tree.
Actual Behavior
No way to link the accessibility tree of browser view.
The text was updated successfully, but these errors were encountered: