Repository navigation
[Splitter] Fix the Color Contrast of the splitter - #5570
Merged
Vincent Baaij (vnbaaij) merged 1 commit intoOct 29, 2026
Merged
Conversation
Denis Voituron (dvoituron)
requested a review
from Vincent Baaij (vnbaaij)
as a code owner
October 28, 2026 15:35
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the MultiSplitter styling and documentation updates.
No open issues 🎉
What changed in this PR
This PR improves the Fluent UI Blazor MultiSplitter’s visual indicators by separating background opacity from control rendering and strengthening resize-handle visibility.
Changes:
- Moves translucent backgrounds to a pseudo-element so interactive indicators remain opaque.
- Updates resize-handle styling, active colors, and forced-colors support.
- Aligns the documented active-color default with the component styles.
| File | Description |
|---|---|
src/Core/Components/Splitter/FluentMultiSplitter.razor.css |
Updates background opacity, resize handles, and interaction styling. |
examples/Demo/FluentUI.Demo.Client/Documentation/Components/Splitter/MultiSplitter.md |
Documents the updated active-color token. |
Review effort: Balanced
Collaborator
Author
|
Replace the PR #5531 |
This was referenced Oct 28, 2026
|
✅ All tests passed successfully Details on your Workflow / Core Tests page. |
Summary - Unit Tests Code CoverageSummary
CoverageMicrosoft.FluentUI.AspNetCore.Components - 98.9%
Microsoft.FluentUI.AspNetCore.Components.Charts - 100%
|
Denis Voituron (dvoituron)
enabled auto-merge (squash)
October 28, 2026 15:40
Vincent Baaij (vnbaaij)
approved these changes
Oct 29, 2026
Vincent Baaij (vnbaaij)
deleted the
users/dvoituron/fix-splitter-accessibility
branch
October 29, 2026 08:41
This was referenced Nov 16, 2026
Merged
Closed
This was referenced Nov 23, 2026
Closed
This was referenced Nov 30, 2026
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.
[Splitter] Fix the Color Contrast of the splitter
Enhance the accessibility of the Splitter component by updating styles and ensuring better visual indicators for user interactions. This change focuses on improving color contrast and background opacity for better usability.
Fixes #5505.
Summary
Fix insufficient contrast of the FluentMultiSplitter resize handles and collapse/expand indicators.
Previously, opacity was applied to the entire splitter bar, reducing the contrast of its indicators along with its background.
This change:
colorNeutralForeground2for active indicators to maintain sufficient contrast in both standard Fluent themes.CanvasTextcolor.The value of
--fluent-multi-splitter-background-colorremains unchanged.Notes
Calculated indicator-to-background contrast ratios, including background opacity:
All ratios exceed the 3:1 minimum required by WCAG 1.4.11 for non-text contrast.
These calculations use the standard Fluent light and dark themes over
--colorNeutralBackground1, without custom color overrides. The contrasting handles and arrows identify the control; the decorative bar background itself is not required to reach 3:1.This change addresses visual contrast only, not the component's remaining keyboard and semantic accessibility limitations.