Re: [csswg-drafts] [css-anchor] Allow anchoring to pointer (#8639)

In this example I also did add the handling of the `:focus-visible` — and if you'd remove the `.button:focus-visible` parts that override the pointer target variables, you'd see how it can be very easy to ”break” the display of the tooltip with keyboard navigation. That's what I meant by wanting to incorporate _something_ built-in to make this kind of issue less likely — while developers could do it the way I did — they would need to explicitly handle this, and it would be really cool if we could provide a way to use the pointer position from the box without compromising the keyboard users.

-- 
GitHub Notification of comment by kizu
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8639#issuecomment-1484883786 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 27 March 2023 10:17:06 UTC