Skip to content

#grid Information icon indicating tooltip availability has insufficient color contrast in Light 2026 and Dark 2026 themes:A11y_DocumentDB for VS Code Extension_Query Insights_NonText-Contrast #771

Open

Description

@kapilvaishna

GitHub Tags

#A11yTCS; #E2E_DocumentDB_Win32_JUNE2026; #DocumentDB for VS Code Extension; #DesktopApp; #FTP; #Win32; #A11ySev2; #A11yMAS; #WCAG1.4.11; #NonText-Contrast; 

Issue Subcategory

Icon insufficient contrast

User Experience

Users with low vision cannot distinguish meaningful icons from the background. Critical status indicators (warnings, errors) become invisible.

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 > Run query { Reviews : 10 } > Query Insights tab > Observe the issue: Information icon indicating tooltip availability has insufficient color contrast in Light 2026 and Dark 2026 themes

Actual Result

The information (ⓘ) icon used to indicate the presence of a tooltip does not meet the minimum required 3:1 contrast ratio against adjacent colors in Light 2026 and Dark 2026 themes. Due to the insufficient contrast, the icon is difficult to perceive, especially for users with low vision or reduced contrast sensitivity. The icon serves as a meaningful visual indicator that additional information is available through a tooltip.

Expected Result

The information icon should maintain a minimum 3:1 contrast ratio against adjacent colors in both Light 2026 and Dark 2026 themes. Meaningful icons that convey information, such as the availability of a tooltip, should be clearly visible and distinguishable for all users.

Similar issue

Similar issue repro with { } icon in table.

How to Fix

Increase the icon’s color contrast to at least 3:1. Alternatively, add a visible text label alongside the icon so the information is not conveyed by the graphic alone.

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.
  • "Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier."

Attachment

Image Image

Similar issue attachment

Image Image

Activity

  1. added
    a11y
    on Jul 4, 2026
  2. tnaum-ms commented on Jul 8, 2026

    @tnaum-ms
    Collaborator

    We will investigate to confirm which color-aliases we use.

  3. Mana-swi commented on Aug 14, 2026

    @Mana-swi

    #a11ydb-icon-low-contrast;

  4. changed the title [-]Information icon indicating tooltip availability has insufficient color contrast in Light 2026 and Dark 2026 themes:A11y_DocumentDB for VS Code Extension_Query Insights_NonText-Contrast[/-] [+]#grid Information icon indicating tooltip availability has insufficient color contrast in Light 2026 and Dark 2026 themes:A11y_DocumentDB for VS Code Extension_Query Insights_NonText-Contrast[/+] on Dec 1, 2026
  5. tnaum-ms commented on Dec 1, 2026

    @tnaum-ms
    Collaborator

    Please retain the secondary Table {} icon from the original report when retesting the primary Query Insights information icon. The accessibility workstream groups both under non-text contrast (at least 3:1 against adjacent colors in Light 2026 and Dark 2026), without assuming one root cause. Reassess the Table symptom on installed #1142 after merge; #1147 explicitly parks that visual pass. #382 separately owns type-marker text at 4.5:1. This note does not change primary scope or tester ownership.

  6. tnaum-ms commented on Dec 2, 2026

    @tnaum-ms
    Collaborator

    Addressed in #1147.

    • Query Insights information icon (commit d29f871): it now uses the theme's description color (descriptionForeground) at full opacity. Previously it used the label color at 60% opacity, which was 2.34:1 in Light 2026. It is now 6.29:1 in Light 2026, 5.53:1 in Dark 2026 and at least 5.47:1 in the high-contrast themes, against the 3:1 minimum.
    • Table { } type glyph (commit f48c5b7): this is the same element as the Ab marker in #grid The color contrast ratio of the "AB" text with the background is 2.8479:1, which is below the required 4.5:1 #382. It now uses 80% of the row's text color instead of 40%. The weakest case is 5.74:1 (Dark 2026, hovered row), which meets the 3:1 asked here and the 4.5:1 text minimum.

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    a11y

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions