Skip to content

Conversation

@meganrogge
Copy link
Contributor

fix #269070

The active element is this and that lacks aria info. Applies to all chat inputs.

Screenshot 2025-11-07 at 3 55 45 PM

Before:

Screenshot 2025-11-07 at 3 44 57 PM

After:

Screenshot 2025-11-07 at 3 44 25 PM

@meganrogge meganrogge requested review from Copilot and roblourens and removed request for Copilot November 7, 2025 20:57
@meganrogge meganrogge self-assigned this Nov 7, 2025
@meganrogge meganrogge added this to the November 2025 milestone Nov 7, 2025
@meganrogge meganrogge enabled auto-merge (squash) November 10, 2025 15:44
Copilot AI review requested due to automatic review settings November 11, 2025 18:35
Copilot finished reviewing on behalf of meganrogge November 11, 2025 18:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes accessibility issue #269070 by making chat input placeholders readable by screen readers. The change adds aria-placeholder attributes to chat input fields, ensuring that screen reader users can hear the placeholder text that sighted users see.

Key Changes

  • Added updateAriaPlaceholder() method to dynamically set/remove aria-placeholder attribute on the native edit context DOM node
  • Integrated aria-placeholder updates into the existing placeholder rendering logic to ensure they stay synchronized with visual placeholders

@meganrogge meganrogge merged commit 7db9254 into main Nov 11, 2025
33 of 34 checks passed
@meganrogge meganrogge deleted the merogge/aria-placeholder branch November 11, 2025 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NVDA is not announcing placeholder text in the Copilot chat input field: A11y_Visual Studio Code Copilot Extensions_Inline Chat_Screen Reader

5 participants