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

Combobox, Combobox Item Group and Combobox Item - Ensure active user interface components have sufficient contrast - (2036569896) #7787

Closed
dqateam opened this issue Sep 19, 2023 · 2 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. estimate - design - lg Large design effort; 10-20 days of design work p - medium Issue is non core or affecting less that 60% of people using the library

Comments

@dqateam
Copy link
Collaborator

dqateam commented Sep 19, 2023

Violation:

Ensure active user interface components have sufficient contrast

image

WCAG Reference:

Severity:

6

Media Type:

Color and Contrast


Areas for Remediation:

  • Title: Combobox, Combobox Item Group and Combobox Item - Ensure active user interface components have sufficient contrast - (2036569896)
  • Module: Combobox, Combobox Item Group and Combobox Item
    Issue
    There are user interface components with a contrast ratio below 3.00:1.

Foreground:#CACACA
Background: #FFFFFF
The contrast ratio is: 1.6:1
Examples of this user interface component include:

  • The "check" mark icon in unselected state (available after activating combobox)

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

Code Reference

<svg class="svg" fill="currentColor" height="100%" viewBox="0 0 16 16" width="100%" xmlns="http://www.w3.org/2000/svg"><path d="M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z"></path>
</svg>

Suggestion
Ensure active user interface components have sufficient contrast. The required minimum contrast ratio is 3.00:1.

Common examples of qualifying components include text field borders, checkmarks for checkboxes, fillings for radio buttons, focus indicators, and icon-only controls.

For borders, the "adjacent color" can be the color that touches the outside of the border or the color that touches the inside of the border. Contrast with both is not required.

Disabled controls that cannot be navigated to with the keyboard are exempt from this requirement.

Refer to the Accessible Color Picker extension or Color Contrast Checker site for assistance: 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
Copy link
Member

This seems like a valid issue, and should be vetted through the design team.

@geospatialem geospatialem added the design Issues that need design consultation prior to development. label Nov 1, 2023
@brittneytewks brittneytewks added estimate - design - lg Large design effort; 10-20 days of design work p - medium Issue is non core or affecting less that 60% of people using the library and removed needs triage Planning workflow - pending design/dev review. labels Nov 16, 2023
@brittneytewks brittneytewks added this to the Design Backlog milestone Nov 16, 2023
@DitwanP DitwanP removed this from the Design Backlog milestone Aug 8, 2024
@geospatialem
Copy link
Member

This will be mitigated as part of #6245 (comment), where the icon is removed entirely. Closing the above in favor of #6245.

@geospatialem geospatialem closed this as not planned Won't fix, can't repro, duplicate, stale Aug 26, 2024
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. estimate - design - lg Large design effort; 10-20 days of design work p - medium Issue is non core or affecting less that 60% of people using the library
Projects
None yet
Development

No branches or pull requests

4 participants