Fix contrast issues in the agentic UI - #4199
Merged
Merged
Conversation
katinthehatsite
commented
Jul 15, 2026
| foreground so they match the surrounding UI in both schemes. */ | ||
| .components-base-control__help, | ||
| [class*='dataforms-layouts'] [class*='description'] { | ||
| color: var( --wpds-color-fg-content-neutral-weak ) !important; |
Contributor
Author
There was a problem hiding this comment.
I tried to avoid using !important but was not able to get around it to solve the contrast issues. Open to suggestions if anyone has alternatives to offer
Collaborator
📊 Performance Test ResultsComparing 3043877 vs trunk app-size
site-editor
site-startup
Results are median values from multiple test runs. Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issues
Related to STU-1970
How AI was used in this PR
It was used to audit the contrast issues and raise contrast on problematic items.
Proposed Changes
This PR ensures that we don't have the contrast issues for accessibility reasons in the agentic UI. It fixes the contast on the time displayed in the sidebar for the sessions as well as the low contrast on the site form descriptions:
Before
After
For now, they were no other contrast issues flagged.
Testing Instructions
Alternatively:
npm install --save-dev @axe-core/react --workspace=apps/uiapps/ui/src/main.tsx:npm startAgentic UIfeature flag fromStudio -> Feature flagsfrom the topbarNew site -> Create newoptionPre-merge Checklist