♿️(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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user