Re: [csswg-drafts] Add hover/focus/long-press triggering delays to CSS (#9236)

Thanks for the great discussion and ideas. I heard these general viewpoints (none were unanimous):

- CSS seems to be the right place to put this part of the feature.
- Many people seem to think it's better to allow explicit time values (e.g. `0.5s`) rather than `long`/`short` named values. It's still possible for UAs to override this for users, e.g. via a "make delays 10x longer" setting.
- There's a need for an infinite duration, e.g. for a tooltip that never goes away.
- There is a suggestion to have different delays when there's already a tooltip/menu showing. This might require a new pseudo-class like `:interest-target-showing` or something?
- If this feature allows explicit time durations, then we still need a way to specify different delays for different input modalities (hover, focus, touch, gaze). E.g. hover delays are typically longer than focus delays, which are typically also non-zero. I'm not sure how to do that.

Further ideas and discussion is welcome!

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


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

Received on Wednesday, 14 August 2024 16:49:44 UTC