Skip to content

Commit

Permalink
fix(NcActions): move dialog a11y attrs from UL to container
Browse files Browse the repository at this point in the history
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
  • Loading branch information
ShGKme committed Mar 8, 2024
1 parent eb173f2 commit 92cd1ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/NcActions/NcActions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1212,13 +1212,13 @@ export default {
triggerA11yAttr: {
'aria-controls': this.opened ? this.randomId : null,
},
popoverContainerA11yAttrs: {},
popoverUlA11yAttrs: {
popoverContainerA11yAttrs: {
role: 'dialog',
// Dialog must have a label
'aria-labelledby': this.triggerRandomId,
'aria-modal': 'true',
},
popoverUlA11yAttrs: {},
},
tooltip: {
popupRole: undefined,
Expand Down

0 comments on commit 92cd1ab

Please sign in to comment.