Wording nit

This commit is contained in:
Harald Kirschner 2025-08-01 12:38:53 -07:00
parent c0913a9f6f
commit 631e372821
1 changed files with 4 additions and 4 deletions

View File

@ -42,7 +42,7 @@ export class ChatTodoListWidget extends Disposable {
// Create header container to hold expand/collapse and clear button
const headerContainer = dom.$('.todo-list-header');
this.expandoElement = dom.$('.todo-list-expand');
this.expandoElement.setAttribute('role', 'button');
this.expandoElement.setAttribute('aria-expanded', 'true');
@ -88,13 +88,13 @@ export class ChatTodoListWidget extends Disposable {
private createClearButton(): void {
this.clearButton = new Button(this.clearButtonContainer, {
supportIcons: true,
title: localize('chat.todoList.clearButton', 'Clear all tasks'),
ariaLabel: localize('chat.todoList.clearButton.ariaLabel', 'Clear all tasks')
title: localize('chat.todoList.clearButton', 'Clear all todos'),
ariaLabel: localize('chat.todoList.clearButton.ariaLabel', 'Clear all todos')
});
this.clearButton.element.tabIndex = -1;
this.clearButton.icon = Codicon.trash;
this._register(this.clearButton);
this._register(this.clearButton.onDidClick(() => {
this.clearAllTodos();
}));