Commit 701362f
committed
test(template-no-unsupported-role-attributes): absorb audit-fixture cases, drop audit fixture
Upstream maintainers don't want the per-PR `tests/audit/peer-parity`
pattern. Port two unique audit cases into the regular suite:
- `<body aria-expanded=...>` — pins our implicit-role resolution
("generic" via aria-query, vs jsx-a11y's "document"); both flag,
message differs.
- `<a aria-checked />` — acknowledged false-positive vs jsx-a11y; we
resolve href-less <a> to implicit role "generic" where aria-checked
is unsupported, jsx-a11y treats it as having no role and accepts.
All other audit cases were already covered by the regular tests.1 parent 44182f9 commit 701362f
2 files changed
Lines changed: 24 additions & 213 deletions
File tree
- tests
- audit/role-supports-aria-props
- lib/rules
This file was deleted.
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
127 | 151 | | |
128 | 152 | | |
129 | 153 | | |
| |||
0 commit comments