[ACS-10275] a11y - Notification & Filter indicators not announced by screen readers (#11267)

This commit is contained in:
Mykyta Maliarchuk
2025-10-15 13:15:25 +02:00
committed by GitHub
parent 124fd66965
commit cef71a2d71
4 changed files with 4 additions and 2 deletions
@@ -380,6 +380,7 @@
"TITLE": "Filter",
"TYPE": "Type",
"FILTER_BY": "Filter by {{ category }}",
"ACTIVE_FILTER": "Active filter",
"CLEAR": "Clear",
"APPLY": "Apply",
"FILTERS": {
@@ -8,7 +8,7 @@
(menuOpened)="onMenuOpen()"
(keyup.enter)="$event.stopPropagation()"
class="adf-filter-button"
[attr.aria-label]="getTooltipTranslation(col?.title)"
[attr.aria-label]="isActive() ? getTooltipTranslation(col?.title) + ' (' + ('SEARCH.SEARCH_HEADER.ACTIVE_FILTER' | translate) + ')' : getTooltipTranslation(col?.title)"
[title]="getTooltipTranslation(col?.title)"
>
<adf-icon
+1
View File
@@ -24,6 +24,7 @@
"CLOSE": "CLOSE",
"NOTIFICATIONS": {
"NO_MESSAGE": "You have no notifications at this time.",
"UNREAD_MESSAGES": "You have unread notifications.",
"TITLE": "Notifications",
"MARK_AS_READ": "Mark all as read",
"SYSTEM": "System",
@@ -1,7 +1,7 @@
<button mat-button
[matMenuTriggerFor]="menu"
aria-hidden="false"
[attr.aria-label]="'NOTIFICATIONS.OPEN_HISTORY' | translate"
[attr.aria-label]="('NOTIFICATIONS.' + (notifications.length ? 'UNREAD_MESSAGES' : 'NO_MESSAGE') | translate) + ' ' + ('NOTIFICATIONS.OPEN_HISTORY' | translate)"
title="{{ 'NOTIFICATIONS.OPEN_HISTORY' | translate }}"
class="adf-notification-history-menu_button"
id="adf-notification-history-open-button"