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
WAI best practice example for tree grid is not working on NVDA #9715
Comments
@mertdeg2: Please completely fill out the bug report draft. Windows, NVDA, JAWS and all the different webbrowser versions are missing. And please expand the actual and the expected behavior with the naming of the mode, which you used in NVDA (browse or focus mode), as this isn't fully clear. Thanks. |
Sorry Daniel, I am not used to creating fully clear bugs.. I am adding some more details (mostly pasting an internal bug details a coworker created) below. OBSERVED NVDA RESULTS =======
Note that this might be a Chrome regression. The original person who discovered the bug couldn't reproduce it in Safari and Firefox with NVDA, VoiceOver. OTHER OBSERVED RESULTS =====
|
@mertdeg2: Please try to reproduce this with NVDA 2019.2 Beta build 17522. You don't have to install it, just run the Installer. |
Yup just tried this. It acts the same way on the new version. Specifically, this table is not navigable: URL: https://www.w3.org/TR/wai-aria-practices/examples/treegrid/treegrid-1.html |
@mertdeg2 from the data I have the issue repros in Firefox + NVDA as well. |
cc: @jcsteh |
This is not a browser issue. That said, fixing this is going to be messy. NVDA deliberately doesn't render list boxes and trees in browse mode because they can be very long, offer interaction patterns that don't make sense in browse mode (e.g. expanding and collapsing many levels), etc. I believe JAWS does the same. It's being argued here that treegrids should be different, which seems inconsistent and presents a couple of challenges:
|
Our tester said that the treegrid worked in the JAWS virtual buffer. |
I'm not doubting this. What I don't know is whether the UX is actually decent. For example, how are levels and expanded/collapsed reported, and how do you expand/collapse a row without unintentionally clicking a column?
Grids are much simpler: you can just expose them like a table. There's no hierarchy to worry about. |
I don't have an opinion on the right UI is, but for now if NVDA wanted to allow traversal in browse mode, but not yet allow toggling of row expansion, it could do that since the treegrids are exposed as tables. The collapsed rows just wouldn't be available. |
So if treegrids automatically switch to focus mode (like listboxes and trees), then manually switching to browse mode should work? I tried it and I can indeed navigate within the treegrid using standard table navigation (
It also announces "editable" for every cell which I suppose is correct because it's a grid and grid cells are supposed to be editable. If there were such a thing as a However, even if nothing about the treegrid's behavior were changed, "treegrid" implies both a tree and a grid, and grids can be navigated to with the |
Strange enough, if I navigat ein browse mode with ctrl+alt+arrow keys, NVDA navigates the column headers as if it was a table "email, subject etc.). But If I navigate with ctrl+alt+down arrow, after that NVDA says not in a table cell. So this might occur because when you press down arrow in the column while in focus mode, the grid is expanded. However, when you press ctrl+alt+down arrow on the grid while in browse mode, the grid is not expanded so you cannot navigate the rows and columns like in a table. However, I am not sure what the underlying cause for this issue is yet. |
With NVDA v.2020.2 on Chrome v.84.0.4147.105 (Official Build) (64-bit), this issue is still repro. Is there any plan to fix this issue? |
Steps to reproduce:
Actual behavior:
Table not detected
Expected behavior:
User should be able to interact with tree-grid using SR per navigation pattern: https://www.w3.org/TR/wai-aria-practices/examples/treegrid/treegrid-1.html.
Note that same page works with JAWS
The text was updated successfully, but these errors were encountered: