Update src/vs/sessions/contrib/agentFeedback/browser/agentFeedbackEditorWidgetContribution.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Lee Murray
2026-03-30 17:25:20 +01:00
committed by GitHub
parent ec0ca2c447
commit 1efdec3f0c

View File

@@ -88,8 +88,10 @@ export class AgentFeedbackEditorWidget extends Disposable implements IOverlayWid
// Header
this._headerNode = $('div.agent-feedback-widget-header');
// Comment icon
this._headerNode.appendChild(renderIcon(Codicon.comment));
// Comment icon (decorative, hidden from screen readers)
const commentIcon = renderIcon(Codicon.comment);
commentIcon.setAttribute('aria-hidden', 'true');
this._headerNode.appendChild(commentIcon);
// Title showing feedback count
this._titleNode = $('span.agent-feedback-widget-title');