1
0
mirror of https://github.com/morris/vanilla-todo.git synced 2025-08-20 21:02:10 +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

@@ -7,8 +7,10 @@ export function TodoItemInput(el) {
let saveOnBlur = true;
el.innerHTML = /* html */ `
<input type="text" class="input use-focus-other">
<button class="app-button save"><i class="app-icon" data-id="plus-24"></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="plus-24"></i>
</button>
`;
const inputEl = el.querySelector('.input');