✨(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:
@@ -6,6 +6,11 @@ and this project adheres to
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- ♿(frontend) improve accessibility:
|
||||||
|
- ♿ add missing aria-label to add sub-doc button for accessib… #1480
|
||||||
|
|
||||||
## [3.8.0] - 2025-10-14
|
## [3.8.0] - 2025-10-14
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -178,6 +178,7 @@ export const DocTreeItemActions = ({
|
|||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
color="primary"
|
color="primary"
|
||||||
|
aria-label={t('Add a sub page')}
|
||||||
data-testid="doc-tree-item-actions-add-child"
|
data-testid="doc-tree-item-actions-add-child"
|
||||||
>
|
>
|
||||||
<Icon
|
<Icon
|
||||||
|
|||||||
Reference in New Issue
Block a user