Open
Bug 1314646
Opened 8 years ago
Updated 2 years ago
Highlighter should stay visible while keyboard navigating the DOM tree in the inspector
Categories
(DevTools :: Inspector, defect, P3)
DevTools
Inspector
Tracking
(Not tracked)
NEW
People
(Reporter: pbro, Unassigned)
References
(Blocks 2 open bugs)
Details
(Keywords: parity-chrome)
Attachments
(1 file)
59 bytes,
text/x-review-board-request
|
Details |
STR:
- open any page
- open the inspector
- click on a node in the inspector
- navigate the tree with <down>, <right>, etc.
As you navigate, nodes become highlighted in the page for some time (1 sec).
As discussed on IRC today with @timeless:
> http://www.accessiq.org/create/content/timing-and-timeouts-accessibility-for-developers
> 1. if you're going to timeout an aid, it would be incredibly helpful if you hinted that there's a timer ticking
> 2. timeouts should always be extendable
>
> If i'm looking at something complicated in a dom tree, it's really helpful if
> I can keep looking back to see what i'm looking at in the document.
> And not have to keep shifting the selected node in the tree just to be able
> to keep track of my place in the document.
Reporter | ||
Comment 1•8 years ago
|
||
ChromeDevTools does keep the node highlighted until you
- either select a new node with the keyboard
- or move your mouse over other nodes in the inspector
Reporter | ||
Comment 3•8 years ago
|
||
Probably introduced in bug bug 916443.
There's a _brieflyShowBoxModel method in the markup-view (devtools\client\inspector\markup\markup.js) that is used whenever the selection changes.
Anyway, for my moderately complicated document (in my case, a pdf.js rendering of a mixed Hebrew-English document).
I'm inspecting it and trying to get a sense of what the document thinks of itself as a DOM.
There are essentially runs, and short runs, and gaps.
As I use the arrow keys in the DOM Tree to move up/down the document, the highlighter appears and flashes for a bit, and then roughly when the rules starts to populate, it usually disappears.
But the time I've looked at the DOM, I look back up and have no idea what part of the document I'm looking at.
There's a theory called "cognitive load", and essentially a user can become overloaded and lose something, in this case, that's the "what was I looking at" bit.
Expected results:
WCAG AAA 2.2.3 says "no timing".
You should not use timeouts.
Notably: Chrome's inspector doesn't.
Updated•8 years ago
|
Assignee: nobody → zer0
Updated•8 years ago
|
Blocks: devtools/highlighters
Reporter | ||
Updated•7 years ago
|
Blocks: top-inspector-bugs
Comment hidden (mozreview-request) |
Comment 8•7 years ago
|
||
Here the try build: https://treeherder.mozilla.org/#/jobs?repo=try&revision=344540d734a6b7368439d87742a2327ba3ac8951&selectedJob=133457841
Notice that there is also another kind of related test occurrence here:
http://searchfox.org/mozilla-central/source/devtools/client/inspector/test/browser_inspector_highlighter-hover_01.js
But since the nature of the tests seems to me legit to keep – maybe we could just rename the "briefly" part?
Assignee: zer0 → nobody
Reporter | ||
Updated•7 years ago
|
Attachment #8912575 -
Flags: review?(pbrosset)
Updated•6 years ago
|
Product: Firefox → DevTools
Reporter | ||
Updated•5 years ago
|
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•