Post #1522499
2026-02-20 20:21 UTC
@chriskirknielsen
I'm a little unclear on the scope of the "reference combinator."
`label /for/ input` is one example but would `button.menu /commandfor/ dialog` work to style a dialog opened using a particular button? Could `[role="tab"][aria-selected="true"] /aria-controls/ [role="tabpanel"]` show a tabpanel based on selection of its tab?
Replies (1)
-
@chriskirknielsen@front-end.social 2026-02-20 20:30
@cwilcox808 Yeah I'm not sure but my mind also went to ARIA relationships as a potential use-case. `commandfor` certainly seems like it would fit the bill, too.