You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
a11y/aria-required-children ignores implicit role of native radio inputs in role=radiogroup #435
a11y/aria-required-children reports div[role="radiogroup"]: needs child with role=radio when the group contains native <input type="radio"> elements. A native radio input has the implicit ARIA role radio (HTML-AAM / ARIA in HTML), so the required owned element is present. The rule only seems to accept an explicit role="radio" attribute.
axe-core accepts this markup: its aria-required-children check resolves implicit roles.
a11y/aria-required-children fails with div[role="radiogroup"]: needs child with role=radio.
Expected
No finding: elements with an implicit role (input[type=radio] → radio, li → listitem, option → option, …) count as the required children, including when nested inside generic wrappers like <div>.
Thanks, confirmed. The rule only accepts an explicit role attribute. The fix resolves implicit roles from native elements (radio, checkbox, option, li, tr, td and the rest of the html-aam mappings the required-children table can need), not just radio. Your markup is the regression fixture. It ships with #434 in the next release.
Activity
nc9 commentedon Oct 1, 2026
Thanks, confirmed. The rule only accepts an explicit
roleattribute. The fix resolves implicit roles from native elements (radio, checkbox, option, li, tr, td and the rest of the html-aam mappings the required-children table can need), not just radio. Your markup is the regression fixture. It ships with #434 in the next release.fix(rules): resolve implicit ARIA roles in aria-required-children #435
fix(rules): noscript content, implicit ARIA roles and CSP host wildca…
nc9 commentedon Oct 1, 2026
Fixed in #438 (e4255c0): implicit ARIA roles from native elements now satisfy required children. Ships in the next CLI release.