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

[5.x]: Accessibility Issue - Control Panel Status Color Issue for Live/Disabled #15195

Closed
rogerdawkins opened this issue Jun 13, 2024 · 6 comments
Assignees
Labels
accessibility 👤 features related to accessibility bug

Comments

@rogerdawkins
Copy link

rogerdawkins commented Jun 13, 2024

What happened?

Description

As a colour blind user I have always used the 'Use shapes to represent statuses' user preference to view shapes rather than colours for the Control Panel Status icon. Although both Live and Disabled are circles that has never been an issue as Live was a filled circle and Disabled was an empty circle so very clear difference. I'm currently using Craft 5.2 and the Live and Disabled are now both filled circles and they appear the same to me.

I have run the two colours through the Accessibility Colour Contrast checker. For AA conformity it requires a contrast value of 4.5:1 but the two current colours have a contrast ratio of 1.21:1 so far from ideal.

Expected behavior

Three options:

  1. Revert to hollow circle for Disabled (preferred)
  2. Use a different shape for Disabled, maybe Triangle pointing down
  3. Use filled circles with significantly different contrasting colours

Please consider changing the Disabled icon back to the hollow circle.

Craft CMS version

5.2

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Tasks

No tasks being tracked yet.
@thupsi
Copy link

thupsi commented Jun 13, 2024

Just a heads up: There's a new 'status' column that you can enable in element indexes that has a text label. But I don't see a reason the status icon shapes should not continue to honor the user's preference. That seems to be an oversight.

@rogerdawkins
Copy link
Author

@thupsi Thanks for the reply. I wasn't aware of the 'Status' column, that's useful and I can use that for now. But column space is always tight so I would preview just the Status icon column but made usable. Also, as P&T are pushing Accessibility so heavily I think they should be using more contrasting colours for Live and Disabled as they are both the same shape.
The status icon shapes are available and work but the Live and Disabled are both circles so need to use colours with more contrast.

@thupsi
Copy link

thupsi commented Jun 13, 2024

Sorry, I got confused and thought the disabled icon was a hollow circle only when the Use shapes to represent statuses preference was enabled. But the point remains that, yes, you should not have to only rely on color to differentiate that from the enabled icon.

@brandonkelly
Copy link
Member

This is now resolved for the next release! (#15206) Thanks for reporting.

@brandonkelly
Copy link
Member

Craft 5.2.1 is out with that change. Thanks again!

@brandonkelly
Copy link
Member

Realized this also affected inactive users. Fixed in 5.2.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility 👤 features related to accessibility bug
Projects
None yet
Development

No branches or pull requests

4 participants