Skip to content
This repository was archived by the owner on Sep 22, 2022. It is now read-only.

Commit 9d440e5

Browse files
authored
Add aria-modal="true"
1 parent c64619f commit 9d440e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ class DetailsDialogElement extends HTMLElement {
188188

189189
connectedCallback() {
190190
this.setAttribute('role', 'dialog')
191+
this.setAttribute('aria-modal', 'true')
191192
const state = initialized.get(this)
192193
if (!state) return
193194
const details = this.parentElement

0 commit comments

Comments
 (0)