Skip to content
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

Interface Contrast Preference #54026

Open
jameskoster opened this issue Aug 29, 2023 · 1 comment
Open

Interface Contrast Preference #54026

jameskoster opened this issue Aug 29, 2023 · 1 comment
Labels
[Feature] Component System WordPress component system [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). Needs Design Needs design efforts.

Comments

@jameskoster
Copy link
Contributor

jameskoster commented Aug 29, 2023

contrast

One part of the color scale work (#53612) worth extracting for separate discussion is an “Interface contrast” user preference.

The current color scale is highly prescriptive about which values components should use based around the objective of meeting WCAG AA guidelines. This is a solid default/foundation that should be reflected in the new scale, but it also dismisses large segments of the ability spectrum (for instance those who require a AAA compatible UI).

A preference for contrast can help individual users create a subjectively comfortable appearance.

What would be the best way to implement this, if it is agreed that the idea has merit? Should there be a dedicated ui-element-border variable the value of which is conditional based in the users contrast preference? Should it be a property of the Theme component? Something else? Let's discuss.

cc @WordPress/gutenberg-design


Note: The mockup above is a rough sketch, not a proposal.

@jameskoster jameskoster added [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). Needs Design Needs design efforts. [Feature] Component System WordPress component system labels Aug 29, 2023
@jasmussen
Copy link
Contributor

Rather than a slider, I think we should curate the three options with presets.

Can the default center option be made identical to what the componentry looks like today?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Component System WordPress component system [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). Needs Design Needs design efforts.
Projects
None yet
Development

No branches or pull requests

2 participants