Commit 16ca450
committed
docs: document deliberate spec deviation on valueless aria-hidden
Move the explanation of valueless / empty-string aria-hidden handling
from the PR body into the published rule docs. The rule deviates from
WAI-ARIA 1.2 §aria-hidden (which resolves valueless aria-hidden to the
default 'undefined', not 'true') in order to favor fewer false
positives for this specific check.
Also document the 'opposite-direction' split with
template-no-aria-hidden-on-focusable / template-anchor-has-content
(where spec-literal interpretation applies), and the unambiguous cases
that always follow the spec.1 parent f1a7b30 commit 16ca450
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
53 | 68 | | |
54 | 69 | | |
55 | 70 | | |
0 commit comments