Skip to content

Conversation

@Taucher2003
Copy link
Member

The contrast test was disabled as it was not able to work with gradients. We have now decided to not use gradients, so the test can be re-enabled.

@Taucher2003 Taucher2003 self-assigned this Dec 16, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Dec 16, 2023

GitLab Pipeline Action

General information

Link to pipeline: https://gitlab.com/code0-tech/base-ui/-/pipelines/1110127018

Status: Passed
Duration: 2 minutes

Job summaries

storybook:build

Storybook available at https://code0-tech.gitlab.io/-/base-ui/-/jobs/5769418078/artifacts/storybook-static/index.html

The contrast test was disabled as it was not
able to work with gradients. We have now
decided to not use gradients, so the test
can be re-enabled
Axe needs to be injected after the page has
loaded. If it is injected before, it fails
on some non-existent contrast problems. It
seems that it checks the contrast during the
loading transition of storybook, so it creates
a flaky failure on the contrast test
When the input is disabled, it should be marked
as aria-disabled.
This also clears the color contrast violation
for the 50% opacity as the element is
semantically marked as disabled.
When the button is disabled, it should be marked
as aria-disabled.
This also clears the color contrast violation
for the 50% opacity as the element is
semantically marked as disabled.
@Taucher2003 Taucher2003 merged commit 1ac74c3 into main Dec 17, 2023
@Taucher2003 Taucher2003 deleted the enable-contrast-test branch December 17, 2023 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants