File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
lib/erblint-github/linters/github/accessibility Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1212 steps :
1313 - uses : actions/checkout@v5
1414 - name : Setup Ruby
15- uses : ruby/setup-ruby@2a7b30092b0caf9c046252510f9273b4875f3db9
15+ uses : ruby/setup-ruby@829114fc20da43a41d27359103ec7a63020954d4
1616 with :
1717 ruby-version : ' 3.0'
1818 bundler-cache : true
2525 steps :
2626 - uses : actions/checkout@v5
2727 - name : Setup Ruby
28- uses : ruby/setup-ruby@2a7b30092b0caf9c046252510f9273b4875f3db9
28+ uses : ruby/setup-ruby@829114fc20da43a41d27359103ec7a63020954d4
2929 with :
3030 ruby-version : ' 3.0'
3131 bundler-cache : true
3838 steps :
3939 - uses : actions/checkout@v5
4040 - name : Setup Ruby
41- uses : ruby/setup-ruby@2a7b30092b0caf9c046252510f9273b4875f3db9
41+ uses : ruby/setup-ruby@829114fc20da43a41d27359103ec7a63020954d4
4242 with :
4343 ruby-version : ' 3.0'
4444 bundler-cache : true
5151 steps :
5252 - uses : actions/checkout@v5
5353 - name : Setup Ruby
54- uses : ruby/setup-ruby@2a7b30092b0caf9c046252510f9273b4875f3db9
54+ uses : ruby/setup-ruby@829114fc20da43a41d27359103ec7a63020954d4
5555 with :
5656 ruby-version : ' 3.0'
5757 bundler-cache : true
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ module Accessibility
99 class NoVisuallyHiddenInteractiveElements < Linter
1010 include ERBLint ::Linters ::CustomHelpers
1111 include LinterRegistry
12+
1213 INTERACTIVE_ELEMENTS = %w[ a button summary select option textarea ] . freeze
1314
1415 MESSAGE = "Avoid visually hidding interactive elements. Visually hiding interactive elements can be confusing to sighted keyboard users as it appears their focus has been lost when they navigate to the hidden element"
You can’t perform that action at this time.
0 commit comments