Open Bug 2008165 Opened 8 months ago Updated 7 months ago

Decorative image not programmatically identified (Timer widget > Play/Pause button)

Categories

(Firefox :: New Tab Page, enhancement)

Firefox 148
enhancement

Tracking

()

Accessibility Severity s4

People

(Reporter: john.northup, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: access)

Attachments

(1 file)

Steps to Reproduce

Open Dev Tools. Inspect the image within the Play/Pause 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/media/play-fill.svg">
<img role="presentation" src="chrome://global/skin/media/pause-fill.svg">

Further Reference

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

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: