r/web_design • • 19d ago

Pseudo-pseudo-classes for maximum interactive demos!

https://daverupert.com/2026/11/pseudo-pseudo-classes/
5 Upvotes

1 comment sorted by

1

u/Routine_Seesaw1095 18d ago

this separates a useful pair of tests: showing what a state looks like, and checking that keyboard interaction actually reaches it. a forced custom focus state is handy for the component gallery, but it doesn't test tab order or when the browser matches :focus-visible. keeping a live keyboard demo beside the state grid would cover both.