Problem/Motivation

Per #3158395: Avoid similar-sounding links with different purposes (D8) it is recommended to change the "title" attribute on links to "aria-label".

Proposed resolution

Change all "title" attributes to "aria-label".

Remaining tasks

Make the changes.

User interface changes

All "title" attributes will change to "aria-label".

API changes

n/a

Data model changes

n/a

CommentFileSizeAuthor
#4 3243775-4.patch3.6 KBmohit.bansal623

Comments

DamienMcKenna created an issue. See original summary.

damienmckenna’s picture

damienmckenna’s picture

mohit.bansal623’s picture

Status: Active » Needs review
StatusFileSize
new3.6 KB

Please review. Updated all title attributes to aria-label.

damienmckenna’s picture

damienmckenna’s picture

damienmckenna’s picture

Status: Needs review » Fixed

Committed. Thank you!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

cboyden’s picture

This patch introduces new accessibility violations, including WCAG 2.5.3 Label in Name. The aria-label attribute is not a drop-in replacement for the title attribute on links. Adding an aria-label completely replaces the visible text of the link, which is pretty much never going to be the desired outcome.

damienmckenna’s picture

Thanks for noticing that. Would you mind opening a new issue and we'll look into it?