Rob Dodson
Rob Dodson
@OliverJAsh sorry for the lag. Can you show me what your markup looked like?
hm yeah both of these make sense. It looks like the TAG folks added a CSS selectors level 5 label to the prior discussion here: https://github.com/w3c/csswg-drafts/issues/3080#issuecomment-437048758 I wonder if they're...
@MarcoZehe That makes sense. You're basically replacing hover with focus-visible for folks using assistive tech, but that means that if the hover card contains something focusable you want to keep...
@OliverJAsh yeah that's a tricky example... It feels like the issue is really with `` and the fact that you have to use the label hack to make it styleable....
@t3chguy > Not quite because then clicking on a toolbar item would mean the toolbar stays open (even after hover is removed), which is undesirable in this case. Is that...
ah yeah. I believe all browsers retain focus when you click on something with tabindex. Do you want the toolbar to close when someone using a keyboard clicks on the...
I think there's still some discussion around adding it to `:has()` in the csswg, https://github.com/w3c/csswg-drafts/issues/3080#issuecomment-839559449 In my opinion this may be the best option?
I'm supportive of the idea. I don't think I'll have bandwidth to get to it immediately but if anyone has time to do a PR I'm happy to review and...
Updated to remove mention of polyfill.io
oh good catch! I just removed it from there as well