Closed Bug 2008158 Opened 8 months ago Closed 3 months ago

Decorative image not programmatically identified (Customize button)

Categories

(Firefox :: New Tab Page, enhancement)

Firefox 148
enhancement

Tracking

()

RESOLVED FIXED
153 Branch
Accessibility Severity s4
Tracking Status
firefox153 --- fixed

People

(Reporter: john.northup, Assigned: sameekshadalvi7)

References

(Blocks 1 open bug)

Details

(Keywords: access)

Attachments

(2 files)

Steps to Reproduce

Open Dev Tools. Inspect the image within the Customize 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 role="presentation" src="chrome://global/skin/icons/edit-outline.svg">

Further Reference

Reproduced with Firefox 148.0a1 (2025-12-31) on macOS 15 and Windows 10.
Marking this issue as new for engineering input.
Thank you!

Status: UNCONFIRMED → NEW
Ever confirmed: true
Type: defect → enhancement
Accessibility Severity: --- → s4

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

Severity: -- → S4

Hi, I would like to work on this bug. I'm familiar with this component from working on Bug 2008197. Thanks!

Assignee: nobody → sameekshadalvi7
Status: NEW → ASSIGNED

Looking at this.

Pushed by sdowne@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/ec50f9451f63 https://hg.mozilla.org/integration/autoland/rev/8dd726a60200 Replace role="presentation" with alt="" for decorative customize icon. r=thecount
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch

Thank you Scott for reviewing and landing the patch!

QA Whiteboard: [qa-triage-done-c154/b153]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: