Repository navigation
Conversation
|
Reviewed head: 8a2aa0a Verdict: no blocking findings, pending maintainer review. Thanks for the focused fix and the thorough tests. Findings, most severe first:
Checks against the acceptance criteria of #1640: the repro reports one orphan Conventions: rule docs updated, CHANGELOG nik |
|
Thanks for the review. Both low findings are addressed in
The focused file now has 21 passing tests, and |
|
Reviewed head: 783ba8e Verdict: no blocking findings, pending maintainer review. Thanks for addressing the earlier notes quickly. Changes since the last reviewed head (8a2aa0a), docs and tests only:
Conventions: rule docs updated, CHANGELOG entry present, no new dependency, DCO sign-off present. CI on this head: all completed checks are green (the sign-off check, docs build, rules tests and golden tests included). nik |
|
Reviewed head: ef5e6bb Verdict: no blocking findings, pending maintainer review. The only commit since the last reviewed head (783ba8e) is Conventions unchanged: rule docs, CHANGELOG entry, no new dependency, DCO sign-off. CI: all 15 completed checks on this head are green, 1 skipped. nik |
Closes squirrelscan#1640 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Ching-Wei Kang <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Ching-Wei Kang <[email protected]>
Signed-off-by: Ching-Wei Kang <[email protected]>
ef5e6bb to
a412404
Compare
Summary
a11y/aria-required-parentno longer flags a nativeli,option,tr,td,th,thead,tbodyortfootinside an ancestor whose children are presentational: an explicit role ofbutton,checkbox,img,menuitemcheckbox,menuitemradio,meter,option,progressbar,radio,scrollbar,slider,switchortab(WAI-ARIA 1.2 "Children Presentational: True"), or a native<progress>/<meter>tabindex, any value, orcontenteditableother than"false") keeps its semantics and is still evaluated<summary>as a button, but browsers keep its children exposedseparatoris left out, since its children are presentational only when it is not focusablespan[role=tab]under a progressbar) are still checked as beforeCloses #1640
Acceptance criteria
li), not 5lioutside any list or presentational-children ancestor still failsul > listill passespackages/rules/tests/aria-required-parent-presentational-1640.test.ts; the rule had no dedicated test file), and the rule docs mention the exceptionVerification
bun test ./packages/rules/tests/aria-required-parent-presentational-1640.test.ts— 19 pass, 0 failbun run scripts/test-suites.ts --run rules— 9,955 pass, 25 todo, 0 failbun run --cwd packages/rules typecheckbun run lint,bun run format:checkbun run docs:check— all checks passedNote: #1641 also adds a
### Fixedsection under## [Unreleased], so whichever lands second will need a one-line CHANGELOG merge; happy to rebase.Checklist
Signed-off-byline (git commit -s).Docs:
docs/rules/a11y/aria-required-parent.mdx. Skill: none.