Closed Bug 1590317 Opened 5 years ago Closed 3 years ago

[aboutprofiling] Can't change the slider values using the keyboard only

Categories

(DevTools :: Performance Tools (Profiler/Timeline), defect, P2)

defect

Tracking

(Accessibility Severity:s2, firefox96 fixed)

RESOLVED FIXED
96 Branch
Accessibility Severity s2
Tracking Status
firefox96 --- fixed

People

(Reporter: julienw, Assigned: jdescottes)

References

(Blocks 1 open bug)

Details

(Keywords: access)

Attachments

(1 file)

I realized we can't change the slider values using the keyboard only.
For the interval it's possible to move between 0.8ms and 1ms. I believe this is because of our use of custom scales.

This is where this is implemented https://searchfox.org/mozilla-central/source/devtools/client/performance-new/components/Range.js.
I'm not sure what the best strategy is.
I wonder if we could use the step attribute of the input type=range element instead of rounding manually to 1 digit like we do in onChange. That would be my prefered option, and I'd like some proof that it doesn't work before moving forward with another solution.
If that's not possible we should likely handle keydown as well as onChange.

Note it's not a regression because the addon-based panel has the same problem. But it's still important.

This is still true for the new about:profiling UI.

Summary: [popup] Can't change the slider values using the keyboard only → [aboutprofiling] Can't change the slider values using the keyboard only

For what it's worth, it's also the case in the Gecko Profiler Addon.

Access-s2 for lack of keyboard support as per https://wiki.mozilla.org/Accessibility/Triage

Whiteboard: [access-s2]
Blocks: 1693316
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bd616f1cd786 [devtools] Fix keyboard navigation for about:profiling range inputs r=julienw
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
Accessibility Severity: --- → s2
Whiteboard: [access-s2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: