question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New rule: Flag if the landmark role name is being used as part of the label

See original GitHub issue

landmark-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 )

  1. Check that none of the above mentioned landmarks have the label with the respective landmark role name included

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
iamrafancommented, Jan 25, 2018

I think we need to look at the title attribute too.

0reactions
iamrafancommented, Jul 17, 2018

@WilcoFiers Agreed, I am closing this one too and will reopen later, if required.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found