Closed Bug 1944268 Opened 13 days ago Closed 12 days ago

Duplicate aria-label and title

Categories

(Toolkit :: Add-ons Manager, defect)

defect

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: henry-x, Assigned: henry-x)

References

Details

(Keywords: access)

Attachments

(1 file)

I noticed when looking at bug 1825033 that some Fluent strings are duplicating the aria-label attribute with the title value. This is unnecessary since the title should already act as the accessible name in the absence of aria-label or text content.

Moreover, it is not recommended practice since the title is meant to act as a distinct accessible description when the aria-label is given. Luckily the Firefox implementation removes accessible descriptions that are exact copies of the accessible name. So it is just redundant at the moment.

The title attribute already acts as the accessible name for the anchor
element with no text content.

Assignee: nobody → henry
Status: NEW → ASSIGNED
Pushed by flodolo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e46f1bf95205 Drop redundant aria-label. r=accessibility-frontend-reviewers,fluent-reviewers,extension-reviewers,flod,robwu
Status: ASSIGNED → RESOLVED
Closed: 12 days ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
Summary: Duplicate ari-alabel and title → Duplicate aria-label and title
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: