Skip to content

#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

Open

Description

@AnKushSingh05

GitHub Tags
#A11yTCS; #A11yMAS; #A11ySev2; #DesktopApp; #FTP; #Win32; #DocumentDB for VS Code Extension; #SH_DocumentDB_Win32_NOV2025; #WCAG1.4.3;#Contrast;

Environment Details:
Application Name: DocumentDB for VS Code Extension
Version 0.6.0
OS: Windows 11[Version 23H2(OS Build 22631.3593)]

Repro Steps:

  1. Open VS code
  2. Install the DocumentDB for VS Code Extension and open it
  3. Navigate to the DocumentDB Connections area.
  4. Click the New Connection action.
  5. Select Connection String as the connection method.
  6. Paste the connection string when prompted.
  7. Choose to authenticate with username/password and enter the credentials
  8. Confirm to create the connection.
  9. Locate the desired cluster in the DocumentDB Connections list.
  10. Expand the cluster entry to initiate the connection.
  11. Expand one of the databases under the cluster.
  12. Expand a collection within that database.
  13. Select the Documents item for that collection.
  14. Collection View will open
  15. Observe the issues The color contrast ratio of the "AB" text with the background is 2.8479:1, which is below the required 4.5:1.

Actual Result:

The color contrast ratio of the "AB" text with the background is 2.8479:1, which is below the required 4.5:1.

Expected Result:
Adjust the text and background colors to achieve a contrast ratio of at least 4.5:1.

User Impact:
Users with visual impairments or low vision may struggle to read the "AB" text due to insufficient contrast between the foreground and background colors. This creates usability challenges, especially in environments with glare or low lighting.
Users may miss critical information or functionality due to unreadable text.

Attachment

Image

Activity

  1. added
    a11y
    on Nov 18, 2025
  2. added this to the milestone on Nov 24, 2025
  3. modified the milestones: , 0.7.2 on Feb 5, 2026
  4. modified the milestones: 0.8.1, , 0.9.1 on Jun 3, 2026
  5. Mana-swi commented on Aug 14, 2026

    @Mana-swi

    #a11ydb-low-contrast-text;

  6. changed the title [-]The color contrast ratio of the "AB" text with the background is 2.8479:1, which is below the required 4.5:1[/-] [+]#grid The color contrast ratio of the "AB" text with the background is 2.8479:1, which is below the required 4.5:1[/+] on Dec 1, 2026
  7. tnaum-ms commented on Dec 1, 2026

    @tnaum-ms
    Collaborator

    Retest the text glyph on the updated Table at 4.5:1 or better against its background in Light 2026 and Dark 2026, including focused/selected states where relevant. The decorative glyph is still styled at 40% opacity: announcing the type from the cell improves speech, not visual contrast. Although #1152 referred to #1147, the accessibility workstream parks grid fixes until after the migration lands. This remains the owning issue. A possible visual badge is parked under #1161; no new tooltip or unique CodeWithScope symbol is required to meet contrast. Leave closure to tester verification.

  8. tnaum-ms commented on Dec 2, 2026

    @tnaum-ms
    Collaborator

    Addressed in #1147 (commit f48c5b7).

    The Table type markers, such as Ab, now use 80% of the row's text color instead of 40%. At 40% they were 2.27–3.81:1, depending on theme and row state.

    The weakest case is now 5.74:1 (Dark 2026, hovered row), against the 4.5:1 minimum. The marker still follows the row color, so selected rows and theme customizations apply to it.

    These ratios are calculated from the VS Code 1.147.0 theme definitions (Light 2026, Dark 2026 and both high-contrast themes), 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

Labels

a11y

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions