зеркало из https://github.com/nextcloud/text.git
fix(menubar): remove unneeded roles `menu`, `menuitem`
All these roles are correctly set by `NcAction*` components when needed. Setting these roles in mixins and menu bar puts them on wrong elements. Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
This commit is contained in:
Родитель
df1f3dc7fa
Коммит
b53602af10
|
@ -26,7 +26,6 @@
|
|||
:title="actionEntry.label"
|
||||
:aria-label="actionEntry.label"
|
||||
:container="menuIDSelector"
|
||||
role="menu"
|
||||
aria-haspopup>
|
||||
<template #icon>
|
||||
<component :is="icon"
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
<template>
|
||||
<NcActions :title="tooltip"
|
||||
class="entry-list-action entry-action"
|
||||
role="menu"
|
||||
v-bind="state"
|
||||
:container="menuIDSelector"
|
||||
:aria-label="actionEntry.label"
|
||||
|
|
|
@ -120,7 +120,6 @@ export default {
|
|||
attrs: {
|
||||
title,
|
||||
type: attrs.active ? 'primary' : 'tertiary',
|
||||
role: 'menuitem',
|
||||
'data-text-action-entry': actionEntry.key,
|
||||
...attrs,
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче