Skip to content

Commit

Permalink
Merge pull request #4455 from nextcloud-libraries/fix/actions-menu-title
Browse files Browse the repository at this point in the history
  • Loading branch information
raimund-schluessler committed Aug 24, 2023
2 parents e01cb83 + d42effa commit 807c05b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/NcActions/NcActions.vue
Expand Up @@ -661,7 +661,7 @@ export default {
/**
* Aria label for the actions menu.
*
* If `menuName` is defined this will not be used to prevent
* If `menuTitle` is defined this will not be used to prevent
* any accessible name conflicts. This ensures that the
* element can be activated via voice input.
*/
Expand Down Expand Up @@ -1108,7 +1108,7 @@ export default {
ref: 'menuButton',
attrs: {
'aria-haspopup': isNav ? null : 'menu',
'aria-label': this.menuName ? null : this.ariaLabel,
'aria-label': this.menuTitle ? null : this.ariaLabel,
'aria-controls': this.opened ? this.randomId : null,
'aria-expanded': this.opened.toString(),
},
Expand Down

0 comments on commit 807c05b

Please sign in to comment.