Skip to content

Commit 0a0e22a

Browse files
authored
Update navigation_has_label.rb
1 parent a95a56f commit 0a0e22a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/erblint-github/linters/github/accessibility/navigation_has_label.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class NavigationHasLabel < Linter
1010
include ERBLint::Linters::CustomHelpers
1111
include LinterRegistry
1212

13-
MESSAGE = "The navigation landmark should have a unique accessible name via `aria-label` or `aria-labelledby`."
13+
MESSAGE = "The navigation landmark should have a unique accessible name via `aria-label` or `aria-labelledby`. Remember that the name does not need to include `navigation` or `nav` since it will already be announced."
1414

1515
def run(processed_source)
1616
tags(processed_source).each do |tag|

0 commit comments

Comments
 (0)