CSS UI caret-animation property
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
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.
Ping. Any thoughts?
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.