Json viewer has a blue border around the content
Categories
(DevTools :: JSON Viewer, enhancement, P3)
Tracking
(firefox-esr115 unaffected, firefox120 unaffected, firefox121 unaffected, firefox122 wontfix, firefox123 wontfix, firefox124 fix-optional)
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox120 | --- | unaffected |
| firefox121 | --- | unaffected |
| firefox122 | --- | wontfix |
| firefox123 | --- | wontfix |
| firefox124 | --- | fix-optional |
People
(Reporter: pascalc, Assigned: nchevobbe)
Details
Attachments
(2 files)
When loading a json file, a blue line is now rendered around the page, see screenshot.
If you click on the content, the border disappears
Last good revision: f1f5f98290b348616c33083ee0bef41d8c2cc147
First bad revision: 6a44a533b289fed920d41737bdef46afae72d47d
INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=f1f5f98290b348616c33083ee0bef41d8c2cc147&tochange=6a44a533b289fed920d41737bdef46afae72d47d
Nicolas, this seems to have been caused by one of your patches.
Thanks
| Assignee | ||
Comment 1•2 years ago
|
||
This is the focus indicator (for keyboard navigation and accessibility) and its style now matches what we have in the rest of DevTools.
I guess this shows how we automatically put the focus on the "tree" on load, maybe we could revisit that
Updated•2 years ago
|
Comment 2•2 years ago
|
||
This bug has been marked as a regression. Setting status flag for Nightly to affected.
Comment 3•2 years ago
|
||
Setting Bug 1865846 as the regressor, please change if incorrect
| Assignee | ||
Comment 4•2 years ago
|
||
Updated•2 years ago
|
Comment 5•2 years ago
|
||
:nchevobbe will this land within the next week?
The Fx122 nightly soft code freeze starts on 2023-12-14, with Fx122 going to beta on 2023-12-18.
| Assignee | ||
Comment 6•2 years ago
|
||
Not a big deal, for now I'd rather show the proper focus indicator
Updated•2 years ago
|
Updated•2 years ago
|
| Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
| Assignee | ||
Comment 8•2 years ago
|
||
The focus indicator is now fixed, and it seems important that the content gets focused, so I'm not sure we're going to do anything about this.
We'll discuss this with the team
Comment 9•2 years ago
|
||
We should make sure to only show one focus indicator at a time.
When you select an element in the tree, we put a blue background on it, and in this case we should no longer show a border on its container, although it currently happens if you do the following:
- select an item
- press up or down to select another item
- -> blue border appears on the container
We should also stop showing the blue background if the item no longer has focus. But the component is fully navigable with the keyboard, so moving to enhancement.
Description
•