Commit 823631f
committed
fix(template-no-invalid-role): drop unsupported ARIA 1.3 allowlist tokens
`associationlist`, `associationlistitemkey`, and `associationlistitemvalue`
are not present in the current WAI-ARIA 1.3 editor's draft
(https://w3c.github.io/aria/). Earlier commit listed all five as draft
tokens; only `comment` and `suggestion` are actually proposed. Drop the
three phantom tokens and the tests that accepted them as valid.
With this change the rule now correctly flags `role='associationlist'`
and siblings as invalid, matching peer behavior (jsx-a11y, vue-a11y,
lit-a11y all reject them).1 parent b99708a commit 823631f
2 files changed
Lines changed: 4 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
14 | 9 | | |
15 | 10 | | |
16 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | 60 | | |
64 | 61 | | |
65 | 62 | | |
| |||
246 | 243 | | |
247 | 244 | | |
248 | 245 | | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | 246 | | |
253 | 247 | | |
254 | 248 | | |
| |||
0 commit comments