(frontend) add missing aria-label to add sub-doc button for a11y

improves screen reader support for the add sub-doc action in the document tree

Signed-off-by: Cyril <c.gromoff@gmail.com>
This commit is contained in:
Cyril
2025-10-14 09:03:27 +02:00
parent b056dbfad4
commit 278eb233e9
2 changed files with 6 additions and 0 deletions

View File

@@ -6,6 +6,11 @@ and this project adheres to
## [Unreleased]
### Changed
- ♿(frontend) improve accessibility:
- ♿ add missing aria-label to add sub-doc button for accessib… #1480
## [3.8.0] - 2025-10-14
### Added

View File

@@ -178,6 +178,7 @@ export const DocTreeItemActions = ({
});
}}
color="primary"
aria-label={t('Add a sub page')}
data-testid="doc-tree-item-actions-add-child"
>
<Icon