File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
packages/mgt-components/src/components/mgt-todo Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -206,6 +206,7 @@ export class MgtTodo extends MgtTasksBase {
206206 ? html `
207207 < fluent-checkbox
208208 class ="task-add-icon "
209+ aria-label ="${ this . strings . newTaskPlaceholder } "
209210 @click ="${ this . addTask } ">
210211 </ fluent-checkbox >
211212 `
@@ -393,6 +394,7 @@ export class MgtTodo extends MgtTasksBase {
393394 id =${ task . id }
394395 class =${ checkboxClasses }
395396 ?checked=${ isCompleted }
397+ aria-label=${ this . strings . taskNameCheckboxLabel }
396398 @click="${ ( ) => this . handleTaskCheckClick ( task ) } "
397399 @keydown="${ ( e : KeyboardEvent ) => this . handleTaskCheckKeydown ( e , task ) } "
398400 >
Original file line number Diff line number Diff line change @@ -24,5 +24,6 @@ export const strings = {
2424 newTaskDateInputLabel : 'New Task Date Input' ,
2525 changeTaskDateInputLabel : 'Change Task Date Input' ,
2626 newTaskNameInputLabel : 'New Task Name Input' ,
27- cancelAddingTask : 'Cancel adding a new task'
27+ cancelAddingTask : 'Cancel adding a new task' ,
28+ taskNameCheckboxLabel : 'Task Name Checkbox'
2829} ;
You can’t perform that action at this time.
0 commit comments