When the clear-all-button is shown it should be placed outside the list as it is not a task like the other list elements.
This should give a better accessibility, especially with screenreaders. See https://inclusive-components.design/a-todo-list/ for details.
When the clear-all-button is shown it should be placed outside the list as it is not a task like the other list elements. This should give a better accessibility, especially with screenreaders. See https://inclusive-components.design/a-todo-list/ for details.