Skip to content

Should css.properties.accent-color be partial or not? #26073

@captainbrosset

Description

@captainbrosset

What type of issue is this?

Other

What information was incorrect, unhelpful, or incomplete?

This was original raised by @rviscomi at web-platform-dx/web-features#2671
I'm opening this up as discussion on the BCD repo instead of the web-features repo. web-features just follows the partial implementation flag from BCD. So I think the discussion needs to happen here.

accent-color.json currently considers Safari's implementation as partial, with a note:

Safari does not adjust the color of glyphs (such as checkmarks) on form controls to maintain contrast. See bug 244233.

In our WebDX CG meeting, Rick was wondering if accent-color should be considered as fully supported or not, that perhaps accent-color:white is a very rare thing to do, and that the feature itself just works.
(Rick, sorry if I misrepresented your point of view here, feel free to correct me).

What do others think? Should the feature be marked as fully supported with a note? Or should the partial flag remain?

My personal opinion is that the partial flag should remain, based on what the mentioned webkit bug says:

When the accent-color CSS property is set to white on iOS Safari, the checkmark of a checkbox is invisible. In other browsers such as Chrome and Firefox, when the accent-color is a light color, the checkmark becomes black rather than white.
Example: https://codepen.io/devongovett/pen/QWmoJBq

What browsers does this problem apply to, if applicable?

No response

What did you expect to see?

N/A

Did you test this? If so, how?

https://codepen.io/devongovett/pen/QWmoJBq in Safari.

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

No response

Do you have anything more you want to share?

No response

MDN URL

No response

MDN metadata

No response

Metadata

Metadata

Assignees

Labels

data:cssCompat data for CSS features. https://developer.mozilla.org/docs/Web/CSSp1Highest priority – Should be addressed in the next few releases.questionIssues where a question or problem is stated and a discussion is held to gather opinions.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions