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

Commit db7c80a

Browse files
authored
Merge pull request #33 from github/aria-modal
Add aria-modal
2 parents c64619f + 9d440e5 commit db7c80a

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)