Skip to content

test(no-nested-interactive): add composite-widget hierarchy valid cases#2753

Merged
NullVoxPopuli merged 1 commit intoember-cli:masterfrom
johanrd:test/composite-widget-nesting
Apr 28, 2026
Merged

test(no-nested-interactive): add composite-widget hierarchy valid cases#2753
NullVoxPopuli merged 1 commit intoember-cli:masterfrom
johanrd:test/composite-widget-nesting

Conversation

@johanrd
Copy link
Copy Markdown
Contributor

@johanrd johanrd commented Apr 27, 2026

Summary

  • Adds 8 GTS + 8 HBS valid test cases covering the canonical ARIA composite-widget nesting patterns: listbox > option, tablist > tab, tree > treeitem, grid > row > gridcell/rowheader/columnheader, treegrid > row > gridcell, radiogroup > radio.
  • These patterns are allowed by COMPOSITE_WIDGET_CHILDREN (already on master in lib/utils/interactive-roles.js, derived from aria-query's requiredOwnedElements). The tests confirm that derivation is wired up correctly in the rule and none of these patterns produce a false positive.

Covers the canonical ARIA composite-widget patterns driven by
COMPOSITE_WIDGET_CHILDREN (aria-query requiredOwnedElements — already on
master via lib/utils/interactive-roles.js): listbox>option, tablist>tab,
tree>treeitem, grid>row>gridcell/rowheader/columnheader, treegrid>row,
radiogroup>radio. Added to both the gts and hbs rule-tester runs.
@NullVoxPopuli NullVoxPopuli merged commit 3eb86d4 into ember-cli:master Apr 28, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants