mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
add screen reader mode
This commit is contained in:
1 parent
ee65a5693c
commit
7cdf263da1
23 files changed
+834
-59
No files matched your search
@@ -47,13 +47,13 @@ export default class extends HTMLElement {
|
||||
|
||||
this.classList.remove('hidden', '-translate-y-10', 'opacity-0')
|
||||
this.classList.add('translate-y-0', 'opacity-100')
|
||||
this.querySelectorAll('[tabindex]').forEach((el) => { el.tabIndex = 0 })
|
||||
this.inert = false
|
||||
}
|
||||
|
||||
hideButtons () {
|
||||
this.classList.remove('translate-y-0', 'opacity-100')
|
||||
this.classList.add('-translate-y-10', 'opacity-0')
|
||||
this.querySelectorAll('[tabindex]').forEach((el) => { el.tabIndex = -1 })
|
||||
this.inert = true
|
||||
|
||||
setTimeout(() => {
|
||||
if (this.classList.contains('-translate-y-10')) {
|
||||
|
||||
Reference in new issue
Block a user