mirror of https://github.com/microsoft/vscode.git
Wording nit
This commit is contained in:
parent
c0913a9f6f
commit
631e372821
|
@ -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();
|
||||
}));
|
||||
|
|
Loading…
Reference in New Issue