Landmarks should have unique labels when there are multiple of the same type

landmarks/landmark-unique · Best practice

Landmarks should have unique labels when there are multiple of the same type.

When a page has multiple landmarks of the same type (e.g., multiple nav elements), each should have a unique accessible name via aria-label or aria-labelledby. This helps screen reader users distinguish between them (e.g., 'Main navigation' vs 'Footer navigation').

Scan a page or repo for issues like this · All rules

Introduced in @accesslint/core v0.8.0