-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CSS UI-4] caret-animation property #1100
Comments
In general this seems sensible to me, though I'm curious if a11y folks have concerns about this? cc @jcsteh It should be relatively easy to implement (i.e., Firefox supports A few questions I have (and the spec doesn't quite determine unless I'm missing something):
If you agree these are not defined, it'd be great to open issues about them... |
I was aware that Firefox already supports this as a user setting. It was easy to implement in Blink too. The spec text mentions this being a a11y benefit for users impacted by motion. That probably applies more to browser like Chrome without user-facing caret blinking controls. Overall I think the implementation details for
|
It could equally be an a11y detriment, though, if the user has very specific OS or browser settings for blink time, etc. and some site goes and overrides those. Given that certain kinds of blinking can cause severe physical reactions for some folks, this might not be a minor concern. That said, the fact that you can already animate caret-color means this is already possible, though we shouldn't necessarily dig the hole deeper just because the hole has already been dug. :) I guess browsers could choose to ignore this if commanded by the user, just as they can behave specially with forced colors, for example. Does that seem reasonable? CC @MReschenberg, who has deeper experience and understanding of colour and motion issues than I, in case she has further thoughts. |
Yeah so... Caret-color should be handled like other colors in forced-colors mode, probably. And that means that caret-animation: none would unintentionally disable the custom blinking animation altogether for those users which seems unfortunate. It's at least a bit footgunny |
Thanks for the input. Note the values are The spec could be changed to say that if you set And the a11y use case could be delegated to the browser and/or under the control of I agree that caret-color should be modified by forced-colors. Thoughts? A couple of other things:
|
Request for Mozilla Position on an Emerging Web Specification
@
-mention GitHub accounts): frivoalOther information
This is already in the spec after the resolution of CSS #9707
My recollection from the CSS WG meeting is that Emilio was OK but the log does not reflect that so I may well be confusing issues.
Chromium intent: https://chromestatus.com/feature/5082469066604544
The text was updated successfully, but these errors were encountered: