Commit 5362da7
committed
fix(template-no-aria-hidden-on-focusable): clarify message and expand test coverage (Copilot review)
- Rephrase noAriaHiddenOnFocusable / noAriaHiddenOnAncestorOfFocusable messages
to say 'can still receive focus (via Tab navigation or programmatically)'
rather than 'reachable via Tab' — the latter was inaccurate for tabindex=-1
and programmatic focus paths.
- Add test cases exercising contenteditable ('', 'true', 'plaintext-only',
'false') and <area href> / bare <area>. contenteditable='false' and bare
<area> are asserted as valid; the other contenteditable values and
<area href> flag.1 parent fa83b32 commit 5362da7
2 files changed
Lines changed: 39 additions & 2 deletions
File tree
- lib/rules
- tests/lib/rules
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
48 | 55 | | |
49 | 56 | | |
50 | 57 | | |
| |||
105 | 112 | | |
106 | 113 | | |
107 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
108 | 145 | | |
109 | 146 | | |
110 | 147 | | |
| |||
0 commit comments