(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:
Cyril
2025-10-14 09:28:50 +02:00
parent 278eb233e9
commit e2298a3658
2 changed files with 2 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ and this project adheres to
- ♿(frontend) improve accessibility: - ♿(frontend) improve accessibility:
- ♿ add missing aria-label to add sub-doc button for accessib… #1480 - ♿ add missing aria-label to add sub-doc button for accessib… #1480
- ♿ add missing aria-label to more options button on sub-docs #1481
## [3.8.0] - 2025-10-14 ## [3.8.0] - 2025-10-14

View File

@@ -152,7 +152,6 @@ export const DocTreeItemActions = ({
options={options} options={options}
isOpen={isOpen} isOpen={isOpen}
onOpenChange={onOpenChange} onOpenChange={onOpenChange}
aria-label={t('Open document actions menu')}
> >
<Icon <Icon
onClick={(e) => { onClick={(e) => {
@@ -164,7 +163,7 @@ export const DocTreeItemActions = ({
variant="filled" variant="filled"
$theme="primary" $theme="primary"
$variation="600" $variation="600"
aria-hidden="true" aria-label={t('More options')}
/> />
</DropdownMenu> </DropdownMenu>
{doc.abilities.children_create && ( {doc.abilities.children_create && (