standards-positions icon indicating copy to clipboard operation
standards-positions copied to clipboard

CSS UI caret-animation property

Open schenney-chromium opened this issue 1 year ago • 3 comments

WebKittens

No response

Title of the proposal

CSS caret-animation property

URL to the spec

https://drafts.csswg.org/css-ui-4/#caret-animation

URL to the spec's repository

https://github.com/w3c/csswg-drafts/blob/main/css-ui-4

Issue Tracker URL

No response

Explainer URL

No response

TAG Design Review URL

N/A

Mozilla standards-positions issue URL

https://github.com/mozilla/standards-positions/issues/1100

WebKit Bugzilla URL

N/A

Radar URL

N/A

Description

The discussion leading to this feature serves as an explainer. This feature is mostly relevant when combined with the caret-color property that is supported by WebKit. The Chromium intent is here

schenney-chromium avatar Oct 16 '24 16:10 schenney-chromium

Any update on this one?

The Mozilla standards position issue has some discussion and there is more on https://github.com/w3c/csswg-drafts/pull/11373

I'm hoping to ship in Chromium once the spec PR lands.

schenney-chromium avatar May 01 '25 13:05 schenney-chromium

Ping. Any thoughts?

schenney-chromium avatar Jun 18 '25 22:06 schenney-chromium

Kudos that the spec does include something about the WCAG 2.0 [sic] guideline to avoid seizures. That reference should be updated to latest WCAG (I think version-less link is okay).

Spec should also include some kind of accessibility escape clause... Straw man diff included here to spark more discussion.

- The UA must not animate the [caret](https://drafts.csswg.org/css-ui-4/#insertion-caret%E2%91%A0).
+ The UA should not animate the [caret](https://drafts.csswg.org/css-ui-4/#insertion-caret%E2%91%A0) unless the user's carat animation preference is modified for accessibility or other visibility/legibility reason.

cookiecrook avatar Jul 07 '25 20:07 cookiecrook