-
Notifications
You must be signed in to change notification settings - Fork 693
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-color-5] Wide review #7297
Comments
Security related to |
This contains the answers to questions posed in Self-Review Questionnaire: Security and Privacy as they relate to the current draft of CSS Color 5 which is used to set and modify the colors of various items on a Web page.. What information might this feature expose to Web sites or other parties, and for what purposes is that exposure necessary? Is this specification exposing the minimum amount of information necessary to power the feature? How does this specification deal with personal information or personally-identifiable information or information derived thereof? How does this specification deal with sensitive information? Does this specification introduce new state for an origin that persists across browsing sessions? What information from the underlying platform, e.g. configuration data, is exposed by this specification to an origin? Does this specification allow an origin access to sensors on a user’s device What data does this specification expose to an origin? Please also document what data is identical to data exposed by other features, in the same or different contexts. Does this specification enable new script execution/loading mechanisms? Does this specification allow an origin to access other devices? Does this specification allow an origin some measure of control over a user agent’s native UI? What temporary identifiers might this this specification create or expose to the web? How does this specification distinguish between behavior in first-party and third-party contexts? How does this specification work in the context of a user agent’s Private Browsing or "incognito" mode? Does this specification have a "Security Considerations" and "Privacy Considerations" section? Does this specification allow downgrading default security characteristics? What should this questionnaire have asked? |
A Formal Objection to CSS Color 4 Resolving this would seem to require:
Moving forward to replace the functionality would require:
|
Hi Chris @svgeesus In response:
This is really my main concern/suggestion at this time, that is, hold off until other documents catch up with useful guidance, in part due to issues with the expected time frames moving other things forward, in addition to the known deficits in the current recommendations.
There are issues with the charter preventing this, which is why APCA was moved to Silver/WCAG 3. There has been some informal talk regarding a WCAG 2.3, but that is not much more than conjecture at this point, and not any closer to a recommendation than WCAG 3. Something worth mentioning, due to both an apparent demand, and the expected time frame of WCAG 3, APCA is also developing independently, towards a wider-scope set of guidelines. The W3/AGWG/WCAG3 version is
I hope to have some positive news in this regard soon, relating in part to funding for a larger set of studies.
The current WCAG3 draft does specify "using an APCA compliant tool." I was told at the time that the editors wanted the complicated technical information as a separate white paper.
On this note:
|
I suspect having the function evaluation depend on which property it's used for would be a very unpopular proposition, even though |
I find that insufficient. I would strongly prefer the algorithm to be normative, and whatever tool happens to implement it is then up to the individual. Linking off to another paper evades the W3C Patent Policy and discourages independent implementation.
Its possible, but I don't see any merit in having a less accurate version.
Right and here we are getting into color appearance modeling rather than colorimetry (as you know, but explaining for others following this thread). That unfortunately breaks the entire concept of CSS, because now everything depends on the entire page design. Adding proximal field might be worth examining, but seems difficult and error prone. Adding room illuminance, especially in an automated way with an ambient light sensor, seems like a privacy concern.
--myvar = color-contrast(--color1 vs --color2, --color3); we don't know where Related: |
I would prefer it be included as well. There are internal politics that I don't fully grok, that aspect of bureaucracy is not a part of my skillset. As for the patent policy, I've discussed this with my patent attorney, and am following a plan for the basic pair-of-colors version to be safely placed in the public domain.
Agreed, I am just mentioning in full disclosure as, again, I may not always be aware of organizational needs or priorities.
Exactly, and party why I've only promoted the pair-version, though I do think there is a place for a third input eventually, at least for use cases such as a button that contains text and is itself on a different background. Again though, does the increased accuracy make sense for a guideline if it's more difficult to test/asses.
These more advanced implementations are intended for specific embedded applications, and like I said, not likely to ever be a part of a general content guideline.
And also @faceless2 comment:
Okay, I see the case for more than one function. Having more than one might also help keep things most clear. And opens the door to future independent functions that are specifically tuned, say, for dataviz, or for color (hue/chroma), the later of which opens up possibilities for enabling daltonization of a color palette. A long term desirable goal is that of user personalization more-so than requiring an author to create a one-size-fits-all standard. This is most evident in the use of dark mode/light mode that is rapidly gaining popularity as a user choice. But even that can go farther. I'd suggest there are 2 ideal dark modes, one for day and one for night ambience. And color insensitive users would be best served by a daltonization that is specific to their CVD type. But that is a lot for an author to cater to, so instead can be algorithmically accommodated provided there is a model in place with adequate perceptual accuracy. And this is the longer term goal of what I'm working on. That is, if an author creates a light mode and a dark mode, the other needed variations including daltonization (needed by ~5% of the population) should be achievable. The color-contrast() function is obviously an important future part of this, which is why I raised the concerns here. |
Privacy issues raised: |
No accessibility issues on the content of CSS Color 5: Some issues raised on the specification as written, such as missing alt text, insufficient labeling to be understandable by those with anomalous color vision, and so on:
|
Security review timed out after 3 months with no new issues raised. |
No A11y issues were raised on the substance of CSS Color 5. Issues were raised on the html of the specification itself, so we are addressing those (listed above) before closing off this horizontal review. |
All a11y issues now resolved |
The text was updated successfully, but these errors were encountered: