diff --git a/src/api/menu/components/MenuComponent.vue b/src/api/menu/components/MenuComponent.vue index 60b49b5bfc..d7d334f58b 100644 --- a/src/api/menu/components/MenuComponent.vue +++ b/src/api/menu/components/MenuComponent.vue @@ -28,7 +28,8 @@ v-for="action in actionGroups" :key="action.name" role="menuitem" - :class="[action.cssClass, action.isDisabled ? 'disabled' : '']" + :aria-disabled="action.isDisabled" + :class="action.cssClass" :aria-label="action.name" :title="action.description" @click="action.onItemClicked" @@ -51,7 +52,8 @@ v-for="action in options.actions" :key="action.name" role="menuitem" - :class="[action.cssClass, action.isDisabled ? 'disabled' : '']" + :aria-disabled="action.isDisabled" + :class="action.cssClass" :aria-label="action.name" :title="action.description" @click="action.onItemClicked" diff --git a/src/api/menu/components/SuperMenu.vue b/src/api/menu/components/SuperMenu.vue index 606fe0b3e7..1bbdaf940e 100644 --- a/src/api/menu/components/SuperMenu.vue +++ b/src/api/menu/components/SuperMenu.vue @@ -37,7 +37,8 @@ v-for="action in actionGroups" :key="action.name" role="menuitem" - :class="[action.cssClass, action.isDisabled ? 'disabled' : '']" + :aria-disabled="action.isDisabled" + :class="action.cssClass" :title="action.description" @click="action.onItemClicked" @mouseover="toggleItemDescription(action)" diff --git a/src/plugins/notebook/components/NotebookComponent.vue b/src/plugins/notebook/components/NotebookComponent.vue index ccb1276276..4c2d7a4c02 100644 --- a/src/plugins/notebook/components/NotebookComponent.vue +++ b/src/plugins/notebook/components/NotebookComponent.vue @@ -96,7 +96,7 @@