[csswg-drafts] [css-ui] appearance: base to enable interoperable styling of controls/components (#5998)

gregwhitworth has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-ui] appearance: base to enable interoperable styling of controls/components ==
@gregwhitworth why not make the proposed behavior for `appearance: base` be the behavior for `appearance: none` for radio buttons and checkboxes? Would it not be web compatible? There are likely *some* sites that use `appearance: none` plus a background image to show the checkmark, so this would show a double checkmark, though I don't know how common it is. Maybe it's even an acceptable change? The content would still work, just not rendered as originally intended. When styling form controls, that shouldn't come as a huge surprise I would think.

CSS UI says that widgets should be *usable* even with `appearance: none`, but checkboxes and radio buttons as implemented today aren't. https://drafts.csswg.org/css-ui/#appearance-semantics

(Feel free to split this into a new issue if you want to separate the discussion around `appearance` from `::indicator`.)

cc @frivoal

_Originally posted by @zcorpan in https://github.com/w3c/csswg-drafts/issues/5914#issuecomment-778089292_

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5998 using your GitHub account


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

Received on Tuesday, 16 February 2021 01:44:27 UTC