The viewer for JSON responses is completely inaccessible
Categories
(DevTools :: JSON Viewer, defect, P3)
Tracking
(firefox76 fixed)
| Tracking | Status | |
|---|---|---|
| firefox76 | --- | fixed |
People
(Reporter: dickson.tan.2013, Assigned: dickson.tan.2013, NeedInfo)
References
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
Steps to reproduce:
- Visit any API endpoint that returns JSON, such as the root GitHub endpoint
- Attempt to navigate through the JSON tree with the NVDA screen reader
Actual results:
The contents of the tree view cannot be read with NVDA, except through advanced object navigation techniques. Using the arrow keys to navigate through the tree doesn't work. First letter navigation also doesn't work.
Expected results:
The contents of the tree are accessible, and is keyboard navigatable. Up/down arrows moves you through the tree's contents, and left and right arrows expand / collapse nodes. First letter navigation moves you to the next node, who's key corresponds to the letter just pressed.
| Assignee | ||
Comment 1•2 years ago
|
||
Make the JSON tree view more accessible.
- Automatically set focus to the first node on initial focus. Previously, the only way to interact with the tree view through the keyboard was to click on a node so that subsequent key presses would register.
- Fix inaccurate aria-level and aria-expanded attributes causing confusing announcements for screen reader users.
- Previously, pressing left arrow the first time on a leaf child node would not move focus to its parent, but subsequent tries would work. This has been fixed.
- Implement first-letter navigation for quick movement via keyboard.
Updated•2 years ago
|
Pushed by mzehe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a52a8f4ab189 make the JSON tree viewer more accessible. r=Honza
Comment 3•1 year ago
|
||
Backed out for failing test_tree-view_01.html
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=290393203&repo=autoland&lineNumber=2143
Backout: https://hg.mozilla.org/integration/autoland/rev/aadc3d0511033a23b734d593c93a914d91f6dc21
Pushed by mzehe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/41f8b0b21560 make the JSON tree viewer more accessible. r=Honza
Comment 5•1 year ago
|
||
| bugherder | ||
Description
•