Skip to content

Placeholder text used as the only visible label for Search input field: A11y_VisualStudioCode_Labels or Instructions #338626

Open

Description

@kapilvaishna

GitHub Tags

#A11yTCS; #Visual Studio Code Client; #SH_Integrated browser features_Win32_JUNE2026; #DesktopApp; #FTP; #Win32; #A11ySev2; #A11yMAS; #WCAG3.3.2; #Labels or Instructions;  #a11ydb-placeholder-as-label; #SCIM:Bug5401822;

Issue Subcategory

Placeholder used as the only label

User Experience

Low vision users may not be able to read the placeholder text since it is typically low in contrast, or can be cut off if enlarging text or increasing the zoom level of a page. People with cognitive disabilities, such as those who have short term memory, may not understand or remember what input is expected, and may lose the only available hint once they begin typing.

Repro Steps

Open VS code > Open quick access > Observe the issue

Actual Result

The search field uses placeholder text as the only visual label. After text is entered, the placeholder disappears and the purpose of the field is no longer visible. Any tooltip associated with the field should not be considered an adequate visual label because tooltips are only displayed on hover or focus and are not persistently visible to all users.

Expected Result

The search/edit field should have a persistent visible text label that remains available before and after user input. Placeholder text may be provided as supplementary guidance but should not be the sole visual label. Users should be able to identify the purpose of the field without relying on placeholder text or tooltips.

How to Fix

Provide a persistent visible label associated with <label for="fieldId">, and reserve placeholder text for supplemental hints only. If your project uses a design system or component library, its text-field component may already keep the label visible — confirm in its accessibility documentation that the label is associated with the input.

Environment details

Application Name: VS Code (1.38.0)
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

Activity

  1. added
    accessibility-sla
    bug
    and removed
    bug
    on Nov 3, 2026
  2. meganrogge commented on Nov 3, 2026

    @meganrogge
    Collaborator

    kapilvaishna the other bug #336374 is sev3, so this one should be as well, right?

  3. kapilvaishna commented on Nov 5, 2026

    @kapilvaishna
    Author

    Megan Rogge (@meganrogge) Below two bugs were initially logged as Sev2 and later downgraded to Sev3. However, the partner team raised a concern, and the guidelines classify them as Sev2 issues. Rather than upgrading their severity, we closed the bugs and logged new Sev2 bugs to avoid affecting compliance and ensure the 60-day SLA.

    #336374
    #321135

    New logged bug
    #338626
    #338627

  4. mrleemurray commented on Nov 12, 2026

    @mrleemurray
    Contributor

    This is the proposed design update:

    image

    Would love some feedback on this

  5. meganrogge commented on Nov 13, 2026

    @meganrogge
    Collaborator
  6. mrleemurray commented on Nov 18, 2026

    @mrleemurray
    Contributor

    kapilvaishna Megan Rogge (@meganrogge) after some discussions, we are not sure that this issue is valid:

    1. showing the label above or underneath or above the input will cause the input & / or the list to be pushed down . Visually noisy & breaks muscle memory.
    2. always showing the label underneath or above the input duplicates info in the placeholder when visible
    3. hover shows the placeholder, and screenreaders already read the placeholder so that info is accessible
  7. meganrogge commented on Nov 19, 2026

    @meganrogge
    Collaborator

    I agree, this is not valid. kapilvaishna let us know who we have to discuss this with to downgrade it.

  8. mrleemurray commented on Nov 25, 2026

    @mrleemurray
    Contributor

    kapilvaishna please let us know how we can downgrade this issue.

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

Metadata

Metadata

Labels

accessibility-sla

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions