Skip to content

Commit

Permalink
Merge pull request nextcloud#39382 from nextcloud/enh/a11y-aria-modal
Browse files Browse the repository at this point in the history
  • Loading branch information
Pytal authored Jul 21, 2023
2 parents 9bdb78f + b3e5269 commit 502f1c8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions core/src/jquery/ocdialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
4 changes: 2 additions & 2 deletions dist/core-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-main.js.map

Large diffs are not rendered by default.

0 comments on commit 502f1c8

Please sign in to comment.