Commit 6bc9ac2
committed
test(template-require-mandatory-role-attributes): absorb audit-fixture cases, drop audit fixture
Upstream maintainers don't want the per-PR `tests/audit/peer-parity`
pattern. Port the documented divergences from peer plugins (jsx-a11y,
vue-a11y, angular-eslint) into the regular suite as VALID cases that
pin our current behavior:
- `role="combobox listbox"` (space-separated tokens — peers split,
we don't)
- `role="COMBOBOX"` / `role="SLIDER"` (case-insensitivity — peers
lowercase before lookup, we don't)
- `role="foobar"` (unknown — parity)
Other audit cases were already covered by the regular tests or were
pure peer-plugin restatements.1 parent dc9c881 commit 6bc9ac2
2 files changed
Lines changed: 12 additions & 215 deletions
File tree
- tests
- audit/role-has-required-aria
- lib/rules
This file was deleted.
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
47 | 59 | | |
48 | 60 | | |
49 | 61 | | |
| |||
0 commit comments