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

[BUG] Disabled labels fail WCAG 1.4.3 colour contrast #113

Closed
LukeTaylor34 opened this issue Sep 19, 2023 · 1 comment · May be fixed by #205
Closed

[BUG] Disabled labels fail WCAG 1.4.3 colour contrast #113

LukeTaylor34 opened this issue Sep 19, 2023 · 1 comment · May be fixed by #205
Assignees
Labels
accessibility bug Something isn't working good first issue Good for newcomers

Comments

@LukeTaylor34
Copy link

Labels for Disabled fields are not except from WCAG 1.4.3.

1.4.3 - Contrast - The visual presentation of text and images of text has a contrast ratio of at least 4.5:1, except for the following:
Large Text - Large-scale text and images of large-scale text have a contrast ratio of at least 3:1;
Incidental - Text or images of text that are part of an inactive user interface component, that are pure decoration, that are not visible to anyone, or that are part of a picture that contains significant other visual content, have no contrast requirement.
Logotypes - Text that is part of a logo or brand name has no contrast requirement.

Expected behavior
The label text should not be changed and add "(Disabled)" to the label.

image

@LukeTaylor34 LukeTaylor34 added the bug Something isn't working label Sep 19, 2023
@LukeTaylor34 LukeTaylor34 changed the title [BUG] [BUG] Disabled labels fail WCAG 1.4.3 colour contrast Sep 20, 2023
@ecstaticrainbow ecstaticrainbow added the good first issue Good for newcomers label Oct 12, 2023
@UKHOGreg UKHOGreg self-assigned this May 23, 2024
@UKHOGreg UKHOGreg linked a pull request May 23, 2024 that will close this issue
@ecstaticrainbow
Copy link
Contributor

Duplicate of #160

@ecstaticrainbow ecstaticrainbow marked this as a duplicate of #160 May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants