Skip to content

Commit 6deae20

Browse files
committed
docs: address Copilot review wording (PR #51)
1 parent 48ef43c commit 6deae20

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

docs/rules/template-require-mandatory-role-attributes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Exempt pairings include (non-exhaustive):
5656
| `<input type="text">` | `textbox` | no required ARIA |
5757
| `<input type="search">` | `searchbox` | no required ARIA |
5858

59-
Un-documented pairings (e.g. `<input type="checkbox" role="menuitemcheckbox">` — axobject-query does not list this) remain flagged.
59+
Undocumented pairings (e.g. `<input type="checkbox" role="menuitemcheckbox">` — axobject-query does not list this) remain flagged.
6060

6161
## References
6262

tests/audit/role-has-required-aria/peer-parity.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,10 @@ hbsRuleTester.run('audit:role-has-required-aria (hbs)', rule, {
197197
output: null,
198198
errors: [{ messageId: 'missingAttributes' }],
199199
},
200-
// DIVERGENCE: pairings NOT in our input+role whitelist stay flagged.
201-
// jsx-a11y/angular recognize more pairings via axobject-query.
200+
// Pairings NOT recognized by axobject-query's elementAXObjects remain
201+
// flagged. Our rule (and jsx-a11y/angular) share the same authority
202+
// here; the examples below are genuinely undocumented concept-chain
203+
// pairings, not divergences.
202204
{
203205
code: '<input type="checkbox" role="radio" />',
204206
output: null,

0 commit comments

Comments
 (0)