a11y.css icon indicating copy to clipboard operation
a11y.css copied to clipboard

:has() use cases

Open ffoodd opened this issue 4 years ago • 1 comments

Probably tons of new tests to find, using :has(). A few resources:

Checking for some patterns based on nesting elements, or some ARIA design patterns, should become possible!

Also it'd allow to drop the current %a11y-reset placeholder.

ffoodd avatar Jan 17 '22 16:01 ffoodd

@KittyGiraudel opens a new door checking details:not(:has(> summary)):not([tabindex^="-"]) in focusable-selectors. Checking for required children (apart from their focusability) is a new step forward validating HTML through CSS.

Need time to play with this :)

ffoodd avatar Jul 27 '22 12:07 ffoodd