question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[a11y]: color contrast is less than the WCAG AA minimum requirements

See original GitHub issue

Description

When running yarn test:a11y multiple stories are recieving an example of the following contrast error:

Screen Shot 2022-01-12 at 11 55 13 AM

Example output of all accessibility errors: https://github.com/carbon-design-system/carbon-for-ibm-dotcom/runs/4779749308?check_suite_focus=true#step:7:2065

Component(s) impacted

  • Callout Quote
    • <dds-quote-source-heading>
    • <dds-quote-source-copy>
    • <dds-callout-link-with-icon>
  • Callout with Media
    • <dds-content-block-heading>
    • <dds-callout-with-media-copy>
  • Dotcom shell (all)
    • <dds-content-block-heading>
    • <dds-callout-quote>
    • <dds-quote-source-heading>
    • <dds-quote-source-copy>
    • <dds-quote-source-bottom-copy>
    • <dds-callout-link-with-icon>

Browser

No response

Carbon for IBM.com version

Canary

Severity

Severity 3 = The problem is visible or noticeable to users but does not impede the usability or functionality. Affects minor functionality, has a workaround.

Application/website

Carbon for IBM.com web components

Package

@carbon/ibmdotcom-web-components

CodeSandbox example

https://github.com/carbon-design-system/carbon-for-ibm-dotcom/runs/4779749308?check_suite_focus=true#step:7:2065

Steps to reproduce the issue (if applicable)

View the actions tab and look under Run a11y compliance tests for web components

To run locally go to packages/web-components and yarn test:a11y

Release date (if applicable)

No response

Code of Conduct

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
ariellalgilmorecommented, Feb 14, 2022

Issue opened in the Equal Access Toolkit here: https://github.com/IBMa/equal-access/issues/687

1reaction
oliviaflorycommented, Jan 28, 2022

@proeung I need to take a further look on this one, going to assign myself so I don’t lost it for now!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Understanding Success Criterion 1.4.3: Contrast (Minimum)
The contrast requirement for larger text is therefore lower. This allows authors to use a wider range of color choices for large text,...
Read more >
Understanding WCAG 2 Contrast and Color Requirements
3 Contrast (Minimum) This Level AA requirement reads: The visual presentation of text and images of text has a contrast ratio of at...
Read more >
Color contrast - Accessibility - MDN Web Docs - Mozilla
The color contrast between background and foreground content ... Type of content, Minimum ratio (AA rating), Enhanced ratio (AAA rating) ...
Read more >
Color Contrast and Accessibility - Aditus
Text is considered small when it is less than 18pt (roughly 24 pixels) or less than 14pt bold (roughly 19px). Small text needs...
Read more >
Understanding SC 1.4.3 – Contrast Minimum - DigitalA11Y
This success criterion requires that the texts and image of texts that are regular in size meet the color contrast ratio of 4.5:1...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found