You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
#grid Keyboard focus indicator color contrast is less than 3:1 on table cells in Light 2026 and Dark 2026 themes:A11y_DocumentDB for VS Code Extension_Table_NonText-Contrast #775
#A11yTCS; #E2E_DocumentDB_Win32_JUNE2026; #DocumentDB for VS Code Extension; #DesktopApp; #FTP; #Win32; #A11ySev2; #A11yMAS; #WCAG1.4.11; #NonText-Contrast;
Issue Subcategory
Focus indicator low contrast
User Experience
Keyboard users with low vision cannot see where focus is located, making keyboard navigation essentially unusable. They cannot determine which element will receive their next action.
Repro Steps
Open VS code > Install the DocumentDB for VS Code Extension and open it > Add new Connections > Expand one of the databases > Expand a collection within that database > Double-click the Documents item > Table > Observe the issue: Keyboard focus indicator color contrast is less than 3:1 on table cells in Light 2026 and Dark 2026 themes
Actual Result
When navigating through table cells using the keyboard in Light 2026 and Dark 2026 themes, the keyboard focus indicator has a contrast ratio of approximately:
Light 2026: 1.948:1
Dark 2026: 1.857:1
These values are less than the required 3:1 contrast ratio, making the focus indicator difficult to perceive.
Expected Result
The keyboard focus indicator displayed on table cells should have a contrast ratio of at least 3:1 against adjacent colors in Light/Dark 2026 themes and should be clearly distinguishable when navigating via keyboard.
How to Fix
Adjust the focus indicator color to achieve 3:1 contrast. Consider using a thick (2px+) outline with a contrasting color, or combine outline with box-shadow for visibility on varied backgrounds.
Environment details
Application Name: VS Code
Extension: DocumentDB for VS Code
Extension Version: 0.9.1
Edition Windows 11 Enterprise
Version 25H2
OS build 26200.8390
Note
Please do not close this bug. This bug should only be closed by TCS, C+AI Accessibility tester after bug verification.
An update to the collection grid/tree element's implementation is planned. This issue will be addressed as part of that update, covering visible table-cell focus indicators with at least 3:1 contrast against adjacent colors in Light 2026 and Dark 2026 themes.
Implementation and accessibility verification are still pending; this comment records the plan, not a completed fix.
changed the title [-]Keyboard focus indicator color contrast is less than 3:1 on table cells in Light 2026 and Dark 2026 themes:A11y_DocumentDB for VS Code Extension_Table_NonText-Contrast[/-][+]#grid Keyboard focus indicator color contrast is less than 3:1 on table cells in Light 2026 and Dark 2026 themes:A11y_DocumentDB for VS Code Extension_Table_NonText-Contrast[/+]on Dec 1, 2026
On the post-#1142 Table, measure the actual visible keyboard focus indicator against adjacent colors (at least 3:1), separately from selection or hover, in Light 2026 and Dark 2026. Cover header/body navigation and a selected row, and separately check an installed Windows contrast theme. Browser forced-colors emulation and a passing keyboard journey do not settle the reported colors. #1147 parks this until the grid lands; retain measured values/screenshots and tester verification here. Related: #383 navigation; #382 text contrast.
The Table cell focus ring now uses Fluent's focus color, the same one the extension's other Fluent controls use, at the same 2px width. Previously it used focusBorder, which fell to 2.26:1 against the adjacent colors in Dark 2026.
Against the adjacent colors on a header, an ordinary cell and a cell in a selected row, the ring is now:
Theme
Weakest case
Minimum
Light 2026
15.21:1
3:1
Dark 2026
12.90:1
3:1
Default High Contrast
11.97:1
3:1
Default High Contrast Light
17.79:1
3:1
Forced-colors mode is unchanged.
These ratios are calculated from the VS Code 1.147.0 theme definitions, not yet measured in an installed workbench. The issue stays open until it is verified.
Activity
Mana-swi commentedon Aug 14, 2026
#a11ydb-focus-low-contrast;
tnaum-ms commentedon Oct 1, 2026
An update to the collection grid/tree element's implementation is planned. This issue will be addressed as part of that update, covering visible table-cell focus indicators with at least 3:1 contrast against adjacent colors in Light 2026 and Dark 2026 themes.
Implementation and accessibility verification are still pending; this comment records the plan, not a completed fix.
[-]Keyboard focus indicator color contrast is less than 3:1 on table cells in Light 2026 and Dark 2026 themes:A11y_DocumentDB for VS Code Extension_Table_NonText-Contrast[/-][+]#grid Keyboard focus indicator color contrast is less than 3:1 on table cells in Light 2026 and Dark 2026 themes:A11y_DocumentDB for VS Code Extension_Table_NonText-Contrast[/+]tnaum-ms commentedon Dec 1, 2026
On the post-#1142 Table, measure the actual visible keyboard focus indicator against adjacent colors (at least 3:1), separately from selection or hover, in Light 2026 and Dark 2026. Cover header/body navigation and a selected row, and separately check an installed Windows contrast theme. Browser forced-colors emulation and a passing keyboard journey do not settle the reported colors. #1147 parks this until the grid lands; retain measured values/screenshots and tester verification here. Related: #383 navigation; #382 text contrast.
Use Fluent's focus color for the Table focus ring (#775)
Record contrast decisions for #775, #382 and #771
tnaum-ms commentedon Dec 2, 2026
Addressed in #1147 (commit 739fe11).
The Table cell focus ring now uses Fluent's focus color, the same one the extension's other Fluent controls use, at the same 2px width. Previously it used
focusBorder, which fell to 2.26:1 against the adjacent colors in Dark 2026.Against the adjacent colors on a header, an ordinary cell and a cell in a selected row, the ring is now:
Forced-colors mode is unchanged.
These ratios are calculated from the VS Code 1.147.0 theme definitions, not yet measured in an installed workbench. The issue stays open until it is verified.