✨(frontend) add missing aria-label to more options button on sub-docs
improves accessibility by making the options button screen reader friendly Signed-off-by: Cyril <c.gromoff@gmail.com>
This commit is contained in:
@@ -152,7 +152,6 @@ export const DocTreeItemActions = ({
|
||||
options={options}
|
||||
isOpen={isOpen}
|
||||
onOpenChange={onOpenChange}
|
||||
aria-label={t('Open document actions menu')}
|
||||
>
|
||||
<Icon
|
||||
onClick={(e) => {
|
||||
@@ -164,7 +163,7 @@ export const DocTreeItemActions = ({
|
||||
variant="filled"
|
||||
$theme="primary"
|
||||
$variation="600"
|
||||
aria-hidden="true"
|
||||
aria-label={t('More options')}
|
||||
/>
|
||||
</DropdownMenu>
|
||||
{doc.abilities.children_create && (
|
||||
|
||||
Reference in New Issue
Block a user