Semantically indicate current paused line when stepping
Categories
(DevTools :: Debugger, defect, P2)
Tracking
(Accessibility Severity:s2, firefox134 fixed)
Tracking | Status | |
---|---|---|
firefox134 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: bomsy)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Keywords: access)
Attachments
(3 files)
When stepping, current line is not indicated semantically (aria-current?). Should probably also get focus or similar so that a screen reader user knows where the point of interest is.
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Updated•2 years ago
|
Comment 1•2 years ago
|
||
The severity field for this bug is set to S3. However, the accessibility severity is higher, .
:bomsy, could you consider increasing the severity?
For more information, please visit BugBot documentation.
Updated•2 years ago
|
Reporter | ||
Comment 2•7 months ago
|
||
Let's only do this for CodeMirror 6, as cm5 might require a very different solution
Reporter | ||
Updated•7 months ago
|
Reporter | ||
Comment 3•4 months ago
|
||
Anna, I was wondering if it would be enough if we add a reference to the file, line and column (and maybe function name) in the yellow section we have in the Debugger, and add a aria-live: polite
attribute on it. If I understand what the attribute does, this would be read out when the panel changes.
Maybe I can try to add a quick patch so we can check if this is enough for fixing this issue?
Reporter | ||
Comment 4•4 months ago
|
||
Reporter | ||
Comment 5•4 months ago
|
||
I pushed a WIP patch at https://phabricator.services.mozilla.com/D223928
Testing with voice over, the content of the element is read when stepping (although we might make it assertive
instead of polite
) which seems to cover the original issue?
Here the patch is very naive, and in VoiceOver, it seems that the "Paused while stepping" part is not repeated when stepping, I guess because there's some kind of mechanism to only read what changed inside the element, and the location information I added are in separate element (to avoid dealing with the localization for now).
How does that sound Anna?
Comment 6•4 months ago
|
||
(In reply to Nicolas Chevobbe [:nchevobbe] from comment #5)
Created attachment 9427699 [details]
WhyPaused with location informationI pushed a WIP patch at https://phabricator.services.mozilla.com/D223928
Testing with voice over, the content of the element is read when stepping (although we might make itassertive
instead ofpolite
) which seems to cover the original issue?
Here the patch is very naive, and in VoiceOver, it seems that the "Paused while stepping" part is not repeated when stepping, I guess because there's some kind of mechanism to only read what changed inside the element, and the location information I added are in separate element (to avoid dealing with the localization for now).How does that sound Anna?
Hi Nicolas, thank you for the patch!
While we could add aria-atomic to the live region and ask the assistive technology to announce the full string, I think it is actually for the best that only the newly updated content is being announced: I think, after the first (full) announcement, in the debugger mode it would be expected to keep "pause while stepping". We want to reduce the verbosity of the announcement and the current implementation should be providing us with exactly that.
In general, I like the approach with adding the reference to the location information to the panel. It would definitely make my own debugging easier
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Comment 8•3 months ago
|
||
bugherder |
Description
•