- From: Mason Freed via GitHub <sysbot+gh@w3.org>
- Date: Wed, 23 Sep 2020 17:28:33 +0000
- To: public-css-archive@w3.org
Thanks @astearns. To make the discussion very concrete: The proposal for ***Option A is the [full proposal](https://github.com/mfreed7/accent-color/blob/master/proposal.md)***. This includes the normative section, the Motivation and Intent section, and the non-normative examples section. The proposal for ***Option B is just the normative section, with the 4th paragraph referring to "interop" removed***. To make that concrete, see below. Both of these are, of course, open for discussion, modification, etc. But the first question to answer is the basic direction - A or B. --- # Option "A": The [full proposal](https://github.com/mfreed7/accent-color/blob/master/proposal.md). --- # Option "B": <pre> <b>Name</b>: ‘accent-color’ <b>Value</b>: <color>+ <b>Initial</b>: 'auto' <b>Applies to</b>: form control elements <b>Inherited</b>: yes <b>Percentages</b>: N/A <b>Computed value</b>: computed color, see resolving color values <b>Canonical order</b>: per grammar <b>Animation type</b>: by computed value type The ‘accent-color' CSS property sets the color of the “accent” parts or pieces of form control elements. The first provided <color> value is to be used for "primary" accent elements. If a second <color> value is provided, that color should be used for "contrasting" accent elements. The third and subsequent colors are only used on some form control elements in some cases, for additional "accent" parts other than "primary" or "contrasting". If any color is not provided, or if 'auto' is provided for any color value, then the UA should attempt to select an appropriate color which offers good contrast and visibility when paired with remaining provided colors, if any. In selecting 'auto' colors, if the operating system provides an “Accent Color” or similar user setting, the UA is encouraged to respect that setting as much as possible. The UA may use a similar, though not identical, color in some cases, for example to enhance contrast or accessibility. In limited circumstances, it is permissible for user agents to render the accent parts of some controls using different colors than those specified by 'accent-color', for example to maintain design guidelines or accessibility constraints. In those cases, the rendered color should be influenced as much as possible by the specified 'accent-color'. For example, the UA may wish to only render the checkbox glyph in either white or black; in this case, the selection of white or black should depend on the 'accent-color' value, e.g. using the luminosity of the provided color. {...paragraph 4 removed here...} The <b>text content</b> of form control elements is explicitly <b>not</b> included in the set of “accent” parts, as text content is already controlled by the <a href="https://drafts.csswg.org/css-color/#the-color-property">'color'</a> property. In addition, the <a href="https://drafts.csswg.org/css-backgrounds-3/#background-color">'background-color'</a> property is often used to control the rendering for some background parts of form controls - those parts are similarly not included in the set of "accent" parts that are subject to control via the `accent-color` property. </pre> -- GitHub Notification of comment by mfreed7 Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5480#issuecomment-697747055 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 23 September 2020 17:28:35 UTC