Skip to content

Commit 63c7097

Browse files
committed
docs(template-require-mandatory-role-attributes): cite HTML-AAM as primary source
axobject-query is the data package the rule queries, but the normative source for "native <input type=checkbox> exposes aria-checked via the checked IDL attribute" is HTML-AAM §el-input-checkbox. Adding the HTML-AAM link makes the exemption's spec grounding explicit instead of leaving axobject-query as a free-floating data source.
1 parent ff35fa6 commit 63c7097

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,8 @@ Un-documented pairings (e.g. `<input type="checkbox" role="menuitemcheckbox">`
6262

6363
- [WAI-ARIA Roles](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles)
6464
- [WAI-ARIA APG — Switch pattern](https://www.w3.org/WAI/ARIA/apg/patterns/switch/)
65-
- [axobject-query](https://github.com/A11yance/axobject-query) — AX-tree data source for the exemption lookup
65+
- [HTML-AAM — `<input type="checkbox">``checkbox` role mapping](https://www.w3.org/TR/html-aam-1.1/#el-input-checkbox)
66+
— primary-spec source: the native element's accessibility mapping supplies
67+
the required ARIA state via the `checked` IDL attribute, which is what
68+
axobject-query encodes.
69+
- [axobject-query](https://github.com/A11yance/axobject-query) — AX-tree data source for the exemption lookup (secondary, encodes HTML-AAM)

0 commit comments

Comments
 (0)