Merge pull request #39382 from nextcloud/enh/a11y-aria-modal

This commit is contained in:
Pytal 2023-07-20 19:22:57 -07:00 committed by GitHub
commit 502f1c8fb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View file

@ -53,6 +53,7 @@ $.widget('oc.ocdialog', {
// Setting tabIndex makes the div focusable
tabIndex: -1,
role: 'dialog',
'aria-modal': true,
})
.insertBefore(this.element)
this.$dialog.append(this.element.detach())

4
dist/core-main.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long