Identical adjacent links

Created on 3 October 2024, 6 months ago

Problem/Motivation

The "Links", "Unordered list with links", and "Unordered inline list with links" lists are getting flagged as violating WCAG 2.4.4. Here's the relevant excerpt:

It is a best practice for links with the same destination to have consistent text...

All of the links in the lists have the same destination, but different text. So they get flagged.

Thank you for considering this. It would help those of us who need to have accessibility reviewers test the Style Guide page to have fewer false-positives.

Proposed resolution

Run the link fragments through Html::getUniqueId() in the Generator class. No one cares if the link destinations don't exist. It only matters that the destinations are unique.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dcam

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024