Skip to content

Commit

Permalink
Merge pull request #4450 from nextcloud-libraries/backport/4447/stable7
Browse files Browse the repository at this point in the history
  • Loading branch information
Pytal committed Aug 23, 2023
2 parents 3fa0e45 + a43ecf8 commit 30c4b20
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/NcActions/NcActions.vue
Expand Up @@ -659,7 +659,11 @@ export default {
},
/**
* Aria label for the actions menu
* Aria label for the actions menu.
*
* If `menuName` is defined this will not be used to prevent
* any accessible name conflicts. This ensures that the
* element can be activated via voice input.
*/
ariaLabel: {
type: String,
Expand Down Expand Up @@ -1104,7 +1108,7 @@ export default {
ref: 'menuButton',
attrs: {
'aria-haspopup': isNav ? null : 'menu',
'aria-label': this.ariaLabel,
'aria-label': this.menuName ? null : this.ariaLabel,
'aria-controls': this.opened ? this.randomId : null,
'aria-expanded': this.opened.toString(),
},
Expand Down

0 comments on commit 30c4b20

Please sign in to comment.