Closed Bug 1875843 Opened 1 years ago Closed 1 years ago

Firefox uses title content as acc name when an image has an empty alt

Categories

(Firefox :: Disability Access, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1802307

People

(Reporter: faulkner.steve, Unassigned)

Details

When an image has an empty alt attribute (alt or alt="") it signifies that the image should be ignored by a screen reader and that the role should not be exposed in the acc tree https://w3c.github.io/html-aam/#el-img-empty-alt, and it has no accessible name https://w3c.github.io/html-aam/#img-element-accessible-name-computation This works correctly in Chrome Version 120.0.6099.225 (Official Build) (64-bit) but not in Firefox 121.0.1 (64-bit)

steps to reproduce:

  1. open https://cdpn.io/pen/debug/wvOeOqz
  2. look at the accessibility tree and note that in Firefox the accessible name for the image in the first case is derived from the title attribute.
Severity: -- → S2
Priority: -- → P3
Status: NEW → RESOLVED
Closed: 1 years ago
Duplicate of bug: 1802307
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.