Closed Bug 2008160 Opened 3 months ago Closed 2 months ago

Decorative image not programmatically identified (Settings dialog > Manage topics button)

Categories

(Firefox :: New Tab Page, defect)

Firefox 148
defect

Tracking

()

RESOLVED FIXED
149 Branch
Accessibility Severity s4
Tracking Status
firefox149 --- fixed

People

(Reporter: john.northup, Assigned: ini)

References

(Blocks 1 open bug)

Details

(Keywords: access, Whiteboard: [hnt])

Attachments

(2 files)

Steps to Reproduce

Open Dev Tools. Inspect the image within the Manage topics button.

Expected Behavior

Image marked as decorative by alt="".

Actual Behavior

Image withheld from the accessibility tree by role="presentation".

User Impact

Although the image is removed from the accessibility tree, the role attribute relies on AT behavior rather than author-provided alt information. Using alt="" is the most robust method for identifying decorative images and is consistent with the First Rule of ARIA.

WCAG 2.2 References

Best practice only.

Recommendations

Apply alt="" and remove the role attribute.

Testing Environment

Any

Assistive Technology Used

Any

Code Pointers

<img class="icon nav-icon" src="chrome://global/skin/icons/arrow-right.svg" role="presentation">

Further Reference

Blocks: 2004739
Keywords: access
Attached image Manage topics button
Whiteboard: [hnt]
Assignee: nobody → ini
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
See Also: → 2008166
See Also: → 2008158
Accessibility Severity: --- → s4
Pushed by ini@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/8f7cff6f04d9 https://hg.mozilla.org/integration/autoland/rev/d1d1dcef8b4b Use alt="" to programmatically identify arrow icon in moz-box-button. r=mstriemer
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch

Assigning the Severity value to align with the Accessibility severity, per discussions with :thecount and :marco

Severity: -- → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: