diff --git a/src/components/NcActions/NcActions.vue b/src/components/NcActions/NcActions.vue index 5a8cea98aa..961e0b2337 100644 --- a/src/components/NcActions/NcActions.vue +++ b/src/components/NcActions/NcActions.vue @@ -670,7 +670,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, @@ -1114,7 +1118,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(), },