improve accessibility

This commit is contained in:
Pete Matsyburka authored and Pete Matsyburka committed 2026-04-19 10:08:16 +03:00
1 parent 0af6ccf35f
commit ee65a5693c
40 files changed
+408 -181

No files matched your search

@@ -5,6 +5,12 @@ export default targetable(class extends HTMLElement {
connectedCallback () {
this.addEventListener('click', () => this.downloadFiles())
this.addEventListener('keydown', (e) => {
if (e.key === 'Enter' || e.key === ' ') {
e.preventDefault()
this.downloadFiles()
}
})
}
toggleState () {