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

Input, Input Message - Ensure parts of graphical objects essential for understanding content have sufficient contrast - (2036569948) #7791

Closed
dqateam opened this issue Sep 19, 2023 · 4 comments
Labels
0 - new New issues that need assignment. a11y Issues related to Accessibility fixes or improvements. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. design Issues that need design consultation prior to development. needs triage Planning workflow - pending design/dev review.

Comments

@dqateam
Copy link
Collaborator

dqateam commented Sep 19, 2023

Violation:

Ensure parts of graphical objects essential for understanding content have sufficient contrast

image

WCAG Reference:

Severity:

5

Media Type:

Color and Contrast


Areas for Remediation:

  • Title: Input, Input Message - Ensure parts of graphical objects essential for understanding content have sufficient contrast - (2036569948)
  • Module: Input, Input Message
    Issue
    The "success" icon with a color contrast ratio below 3.00:1.

Foreground: #35AC46
Background: #F8F8F8
The contrast ratio is: 2.8:1

User Impact
Users with low vision will have difficulty identifying this content.

Code Reference

HTML:
<svg class="svg" fill="currentColor" height="100%" viewBox="0 0 16 16" width="100%" xmlns="http://www.w3.org/2000/svg">(...)</svg>

CSS:
host([status="valid"]) .calcite-input-message-icon {
   color: var(calcite-ui-success: #35ac46;);
}

Suggestion
Ensure parts of graphical objects essential for understanding content have sufficient contrast. The required minimum contrast ratio is 3.00:1.

Common examples of qualifying objects include lines in a chart, meaningful icons, and annotations within an image.

Graphics that require particular presentation to preserve their meaning are exempt from this requirement.

To evaluate color contrast, see the Accessible Color Picker extension: https://www.accessibility.dev/

Compliant Code Example

N/A

Additional Resources:

  • Report Source: Product accessibility evaluation conducted on the Calcite Design System in August, 2022.
@dqateam dqateam added 0 - new New issues that need assignment. a11y Issues related to Accessibility fixes or improvements. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. needs triage Planning workflow - pending design/dev review. labels Sep 19, 2023
@geospatialem geospatialem added the design Issues that need design consultation prior to development. label Nov 7, 2023
@geospatialem
Copy link
Member

This doesn't seem like something we need to mitigate, but want to get some design expertise on this prior to closing it out to be sure this is outside of the scope of what we should support.

@ashetland
Copy link

I think we can refer to #3145 and close.

@brittneytewks
Copy link

Propose to close based on work in #3145 cc: @geospatialem

@geospatialem
Copy link
Member

Closing per #7791 (comment) and #7791 (comment).

@geospatialem geospatialem closed this as not planned Won't fix, can't repro, duplicate, stale Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - new New issues that need assignment. a11y Issues related to Accessibility fixes or improvements. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. design Issues that need design consultation prior to development. needs triage Planning workflow - pending design/dev review.
Projects
None yet
Development

No branches or pull requests

4 participants