Skip to content

Update slidepicker to meet minimum contrast for UI components #11442

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

Open
wants to merge 7 commits into
base: 5.x
Choose a base branch
from

Conversation

gcamacho079
Copy link
Contributor

Description

Updates slidepicker component to meet 3:1 contrast ratio for UI components (resolves DEV-685), and modifies size to meet draft SC 2.5.8 Target Size (Minimum)

Also removes low opacity set on settings button to meet minimum contrast ratio

Widget manager context:

Screen Shot 2022-06-14 at 4 44 58 PM

Field layout context:

Screen Shot 2022-06-14 at 4 45 32 PM

@linear
Copy link

linear bot commented Jun 14, 2022

DEV-685 Available widget columns do not meet minimum contrast

Page Area:

Dashboard - widget settings HUD

Issue Description:

The total number of columns is indicated by rectangles using a light hairline color. This hairline color is too light and makes it difficult for users with low vision to understand how many columns there are in total

Action:

Darken the border color of all available columns to meet 3:1 minimum contrast ratio. This will require that the width indicator uses something other than the darker outline to indicate the current selection

Screenshot/Code Snippet:

Screenshot showing colspan picker component with light indicator of total number of columns:

Screen Shot 2022-06-02 at 12.32.40 PM.png

Resolves CMS-230

@gcamacho079 gcamacho079 marked this pull request as ready for review June 15, 2022 16:00
@gcamacho079 gcamacho079 added accessibility 👤 features related to accessibility 🖥 UI labels Jun 15, 2022
@brandonkelly brandonkelly changed the base branch from 4.1 to 4.2 June 30, 2022 00:55
# Conflicts:
#	src/web/assets/cp/dist/css/cp.css
#	src/web/assets/cp/dist/css/cp.css.map
#	src/web/assets/dashboard/dist/css/Dashboard.css
#	src/web/assets/dashboard/dist/css/Dashboard.css.map
@brandonkelly brandonkelly changed the base branch from 4.2 to 4.3 July 27, 2022 22:49
@brandonkelly brandonkelly changed the base branch from 4.3 to 5.0 August 9, 2022 00:08
@brandonkelly brandonkelly requested review from brianjhanson and removed request for a team, nfourtythree and benjamindavid March 4, 2024 16:54
@brandonkelly brandonkelly changed the base branch from 5.0 to 5.x March 26, 2024 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility 👤 features related to accessibility 🖥 UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants