1
0
mirror of https://github.com/morris/vanilla-todo.git synced 2025-08-21 05:11:20 +02:00

fix basic accessibility things

This commit is contained in:
Morris Brodersen
2023-12-06 19:14:05 +01:00
parent db0fbb85ee
commit 1a6091560d
10 changed files with 31 additions and 27 deletions

View File

@@ -12,12 +12,14 @@ export function TodoItem(el) {
el.innerHTML = /* html */ `
<div class="checkbox">
<input type="checkbox">
<input type="checkbox" aria-label="Done">
</div>
<p class="label"></p>
<p class="form">
<input type="text" class="input use-focus-other">
<button class="app-button save"><i class="app-icon" data-id="check-16"></i></button>
<input type="text" class="input use-focus-other" aria-label="Label">
<button class="app-button save" title="Save">
<i class="app-icon" data-id="check-16"></i>
</button>
</p>
`;