mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
add aria modal true and role dialog to modal
This commit is contained in:
parent
54b30e0b7f
commit
bd2021e8e1
@ -67,6 +67,8 @@
|
|||||||
<div
|
<div
|
||||||
bind:this={modalElement}
|
bind:this={modalElement}
|
||||||
use:focusTrap
|
use:focusTrap
|
||||||
|
aria-modal="true"
|
||||||
|
role="dialog"
|
||||||
class="modal fixed top-0 right-0 left-0 bottom-0 bg-black/60 w-full h-screen max-h-[100dvh] {containerClassName} flex justify-center z-9999 overflow-y-auto overscroll-contain"
|
class="modal fixed top-0 right-0 left-0 bottom-0 bg-black/60 w-full h-screen max-h-[100dvh] {containerClassName} flex justify-center z-9999 overflow-y-auto overscroll-contain"
|
||||||
in:fade={{ duration: 10 }}
|
in:fade={{ duration: 10 }}
|
||||||
on:mousedown={() => {
|
on:mousedown={() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user