-
Notifications
You must be signed in to change notification settings - Fork 686
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
AC-2484::Contrast insufficient - carousel navigation buttons (Landing… #3787
Conversation
|
run all tests |
@magento create issue from PR |
Hi @glo71317, thank you for your work on this. There are three items that need to be addressed before this passes review:
|
run all tests |
@ericeoeur .. We have added the contrast for both the slider on home page .. please have a look and let us know |
run all tests |
Successfully started codebuild job for the following test suites:
|
LogERROR ON TASK: cypressTests
|
run all tests |
Successfully started codebuild job for the following test suites:
|
run all tests |
Successfully started codebuild job for the following test suites:
|
LogError: Error: Cannot find module './.lighthouseci/assertion-results.json'
Require stack:
- dangerfile.lighthouse.js
- /usr/local/share/.config/yarn/global/node_modules/danger/distribution/runner/runners/inline.js
- /usr/local/share/.config/yarn/global/node_modules/danger/distribution/commands/danger-runner.js ERROR ON TASK: lighthouseTests
|
LogError: Error: Cannot find module './.lighthouseci/assertion-results.json'
Require stack:
- dangerfile.lighthouse.js
- /usr/local/share/.config/yarn/global/node_modules/danger/distribution/runner/runners/inline.js
- /usr/local/share/.config/yarn/global/node_modules/danger/distribution/commands/danger-runner.js ERROR ON TASK: lighthouseTests
|
run pr-deploy |
Successfully started codebuild job for |
run cypress |
Successfully started codebuild job for |
run cypress |
Successfully started codebuild job for |
run cypress |
Successfully started codebuild job for |
QA approved, failed cypress are not related. |
Description
Contrast insufficient - carousel navigation buttons (Landing Page)
Reproduction Steps
[NODE][body>div:nth-of-type(1)>:nth-child(1)>:nth-child(3)]
Actual Behavior
Navigation buttons for carousels do not meet minimum contrast requirements, depending on their current state.
Examples include:
Homepage hero carousel, dot icon buttons for the non-current slides:
Foreground:#DFE1E2
Background:#F3F3F3
Contrast ratio: 1.2:1
"Top Sellers" carousel, slider-style buttons for non-current set of items:
Foreground:#DFE1E2
Background:#FFFFFF
Contrast ratio: 1.3:1
When sufficient contrast ratios are not met, users with low vision may have trouble identifying user interface components.
Expected Behavior
Provide identifying portions of buttons, form fields, and other user interface controls a contrast ratio of at least 3:1 with adjacent colors. This may be via the interior or exterior colors for borders but does not require both. In addition, ensure that states such as focus, hover, selected, current item, and other states, like checked, also provide sufficient contrast to identify that state with adjacent colors.
Use the Level Access contrast checking tool or plugin (https://accessibility.dev/) to determine if the contrast is sufficient.
Related Issue
Closes https://jira.corp.magento.com/browse/AC-2484.
Acceptance
Verification Stakeholders
Specification
Verification Steps
Pre-Conditions:
Manual Steps executed:
Login to venia > Navigate to global header venia and press tab to navigate to carousel button
use color contrast checker to compare foreground and background colors.
✖️ Behaviour Before The Fix : Navigation buttons for carousels do not meet minimum contrast requirements of 3:1 with adjacent colors
![image](https://user-images.githubusercontent.com/85922880/165266478-97c16fef-c68d-41fe-8f68-4b2aa8853548.png)
✔️Behaviour After The Fix: Navigation buttons for carousels meet minimum contrast requirements of 3:1 with adjacent colors
![image](https://user-images.githubusercontent.com/85922880/165266625-c6b60ec7-4b75-4545-9530-209f294e1392.png)
Breaking Changes (if any)
Checklist
Resolved issues: