New rule: Flag if the landmark role name is being used as part of the label
See original GitHub issuelandmark-role-in-label
Description: Landmark role name should not be part of the label
Rule Help
Ensure landmark role name is not used in its label. ex: ‘navigation’ navigation landmark
Tags
wcag131, wcag 241
Selector
<header>, <aside>, <footer>, <form>, <main>, <nav>, <section>, [role="banner"], [role="complementary"], [role="contentinfo"], [role="form"], [role="main"], [role="navigation"], [role="region"], [role="search"]
Checks
( none )
- Check that none of the above mentioned landmarks have the label with the respective landmark role name included
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
New rule: Flag if landmarks on a page do not have a unique ...
landmark -unique Description: This rule checks to make sure landmarks reused on a page have unique labels Rule Help Ensures that landmarks ......
Read more >ARIA: landmark role - Accessibility - MDN Web Docs - Mozilla
The landmark role is an abstract superclass for the aria role ... If necessary, brief, descriptive, label can be provided with aria-label ....
Read more >Main Landmark: ARIA Landmarks Example - W3C
When there is more than one main landmark on a page, each should have a unique label. A role="main" attribute is used to...
Read more >ARIA Landmarks - IT Accessibility - NC State University
This can be very helpful if you have multiple navigation areas within a single page. <div id="nav" role="navigation" aria-label="main navigation"> <ul> <li>Home ...
Read more >Landmarks must have a unique role or role/label/title (i.e. ...
Landmarks must have a unique role or role/label/title (i.e. accessible name) combination · Why it Matters. landmark-unique is a new best practice rule...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think we need to look at the
title
attribute too.@WilcoFiers Agreed, I am closing this one too and will reopen later, if required.