Re: [csswg-drafts] [css-ui] Standardize tooltip styling and expose as `::tooltip` (#8930)

> An a11y best practice for authors should be to not (only) use `:hover` with this new `::tooltip` pseudo-element (such as `[title]:hover::tooltip` used in the examples above), or at least also include `:focus`/`:focus-visible`.

Instead of leaving it up to authors, what if this was automatically handled by the UA? What are the use cases where you *don't* want the tooltip to appear on focus?

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


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

Received on Monday, 24 July 2023 11:50:17 UTC