Closed Bug 1974434 Opened 1 year ago Closed 11 months ago

Profiler dropmarker has no accessible label or description

Categories

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

Desktop
All
defect

Tracking

(Accessibility Severity:s2, firefox142 fixed)

RESOLVED FIXED
142 Branch
Accessibility Severity s2
Tracking Status
firefox142 --- fixed

People

(Reporter: Gijs, Assigned: canova)

References

Details

(Keywords: access)

Attachments

(1 file)

This should probably get an accessible label somehow. We ran into the same issue with the IP protection button (see also bug 1973638).

Ideally we fix this in CustomizableUI and require widgets like this to specify a label there, so that future consumers don't make this mistake (but I haven't yet investigated if that is straightforward to do).

Thanks for catching this! It looks like both of them use "button-and-view" widget type. Yeah, it would be good to make the CustomizableUI require this for this widget type.

We create the profiler menu button here:
https://searchfox.org/mozilla-central/rev/058836008f131ae5591d04952a1500c9f94bedbc/devtools/client/performance-new/popup/menu-button.sys.mjs#165-169

I'm also not so sure how straightforward to do for all of these widget types, but at least it should be easy to do the same thing that was done for the IP protection button.

(Moving to "DevTools -> Peformance Tools" because we use this component for firefox frontend related code of the profiler, and the code lives in devtools/)

Severity: -- → S3
Component: Gecko Profiler → Performance Tools (Profiler/Timeline)
Priority: -- → P2
Product: Core → DevTools

This is an access-S2 issue that makes this part of the UI inaccessible for users of assistive technologies. Learn more about ways to make image buttons accessible in the W3C WAI Tutorials

Accessibility Severity: --- → s2
Assignee: nobody → canaltinova
Status: NEW → ASSIGNED

The severity field for this bug is set to S3. However, the accessibility severity is higher, .
:canova, could you consider increasing the severity?

For more information, please visit BugBot documentation.

Flags: needinfo?(canaltinova)
Severity: S3 → S2
Flags: needinfo?(canaltinova)
Pushed by canaltinova@gmail.com: https://github.com/mozilla-firefox/firefox/commit/47d9f7846536 https://hg.mozilla.org/integration/autoland/rev/b991c48eeeae Add l10n attributes to the profiler popup dropmarker r=florian,fluent-reviewers,profiler-reviewers,bolsson
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
QA Whiteboard: [qa-triage-done-c143/b142]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: