mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-07-21 17:37:54 -05:00
fix(a11y): make task title keyboard editable
This commit is contained in:
@@ -28,6 +28,8 @@
|
||||
class="title input"
|
||||
:class="{'disabled': !canWrite}"
|
||||
:contenteditable="canWrite ? true : undefined"
|
||||
:tabindex="canWrite ? 0 : undefined"
|
||||
:aria-label="canWrite ? $t('task.attributes.title') : undefined"
|
||||
:spellcheck="false"
|
||||
@input="handleTitleInput"
|
||||
@blur="save(($event.target as HTMLInputElement).textContent as string)"
|
||||
|
||||
Reference in New Issue
Block a user