Add support for reduced transparency in accessibility settings#295164
Merged
mrleemurray merged 1 commit intomainfrom Feb 13, 2026
Merged
Add support for reduced transparency in accessibility settings#295164mrleemurray merged 1 commit intomainfrom
mrleemurray merged 1 commit intomainfrom
Conversation
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: @bpaseroMatched files:
|
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new accessibility setting to reduce transparency/blur effects and wires it through the platform accessibility service so the workbench can react via a root CSS class (with theme-2026 providing the initial styling adjustments).
Changes:
- Register new setting
workbench.reduceTransparency(on/off/auto) under accessibility settings. - Extend
IAccessibilityService+AccessibilityServiceto track reduced transparency (config + OS media query), expose an event, and togglemonaco-reduce-transparencyon the workbench root. - Add browser unit tests for reduced-transparency behavior and update the test accessibility service stub; update theme-2026 CSS to remove blur/transparency effects when the class is present.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/vs/workbench/browser/workbench.contribution.ts | Adds the workbench.reduceTransparency configuration schema entry. |
| src/vs/platform/accessibility/common/accessibility.ts | Extends the accessibility service interface with reduced-transparency API. |
| src/vs/platform/accessibility/browser/accessibilityService.ts | Implements reduced-transparency detection, eventing, and root CSS class toggling. |
| src/vs/platform/accessibility/test/common/testAccessibilityService.ts | Updates the test stub to satisfy the expanded interface. |
| src/vs/platform/accessibility/test/browser/accessibilityService.test.ts | Adds unit tests for reduced transparency (and covers reduced motion basics). |
| extensions/theme-2026/themes/styles.css | Applies reduced-transparency styling overrides when monaco-reduce-transparency is present. |
meganrogge
approved these changes
Feb 13, 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.
Introduce a new accessibility feature that allows users to reduce transparency and blur effects for improved performance. This change includes updates to the configuration settings, event handling, and CSS class management to reflect the user's preferences. Testing can be done by changing the
workbench.reduceTransparencysetting and observing the changes in the UI.Addresses: #294977