️(frontend) fix redundant a-label and improper landmark on public alert

Remove aria-label and region role to avoid duplicate screen reader announcement
This commit is contained in:
Cyril
2026-03-12 15:10:25 +01:00
parent 11d899437a
commit 0c649a65b0
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -25,6 +25,10 @@ and this project adheres to
⬆️(frontend) upgrade Next.js to v16 #1980
### Changed
- ♿️(frontend) fix aria-label and landmark on document banner state #1986
## [v4.7.0] - 2026-03-09
### Added
@@ -47,7 +51,6 @@ and this project adheres to
- 🐛(frontend) fix bug when language not supported by BN #1957
- 🐛 (backend) prevent privileged users from requesting access #1898
## [v4.6.0] - 2026-03-03
### Added
@@ -9,7 +9,7 @@ export const AlertPublic = ({ isPublicDoc }: { isPublicDoc: boolean }) => {
return (
<Card
aria-label={t('Public document')}
role="presentation"
$radius={spacingsTokens['3xs']}
$direction="row"
$padding="xs"