Skip to content

The contrast checker should be triggered when colors are changed. #67035

@juanfra

Description

@juanfra

What problem does this address?

While working on TT5, I noticed that the contrast checker only runs when you change the block focus. This means if you’re adjusting colors for a block, the contrast issue message only appears after you switch to another element and then come back to the block controls. As a result, many users might miss the contrast warning entirely, defeating its purpose.

At the same time, the notice is still there when you update colors that would pass the contrast checker (for the same reason).

Screen.Recording.2024-11-15.at.15.21.25.mov

What is your proposed solution?

It would be ideal if the notice updated in real-time with color changes, providing a clear message for the current color selection.

Metadata

Metadata

Labels

[Feature] ColorsColor management[Feature] Inspector ControlsThe interface showing block settings and the controls available for each block[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).[Status] In ProgressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions