[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", "TITLE": "Filter",
"TYPE": "Type", "TYPE": "Type",
"FILTER_BY": "Filter by {{ category }}", "FILTER_BY": "Filter by {{ category }}",
"ACTIVE_FILTER": "Active filter",
"CLEAR": "Clear", "CLEAR": "Clear",
"APPLY": "Apply", "APPLY": "Apply",
"FILTERS": { "FILTERS": {
@@ -8,7 +8,7 @@
(menuOpened)="onMenuOpen()" (menuOpened)="onMenuOpen()"
(keyup.enter)="$event.stopPropagation()" (keyup.enter)="$event.stopPropagation()"
class="adf-filter-button" 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)" [title]="getTooltipTranslation(col?.title)"
> >
<adf-icon <adf-icon
+1
View File
@@ -24,6 +24,7 @@
"CLOSE": "CLOSE", "CLOSE": "CLOSE",
"NOTIFICATIONS": { "NOTIFICATIONS": {
"NO_MESSAGE": "You have no notifications at this time.", "NO_MESSAGE": "You have no notifications at this time.",
"UNREAD_MESSAGES": "You have unread notifications.",
"TITLE": "Notifications", "TITLE": "Notifications",
"MARK_AS_READ": "Mark all as read", "MARK_AS_READ": "Mark all as read",
"SYSTEM": "System", "SYSTEM": "System",
@@ -1,7 +1,7 @@
<button mat-button <button mat-button
[matMenuTriggerFor]="menu" [matMenuTriggerFor]="menu"
aria-hidden="false" 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 }}" title="{{ 'NOTIFICATIONS.OPEN_HISTORY' | translate }}"
class="adf-notification-history-menu_button" class="adf-notification-history-menu_button"
id="adf-notification-history-open-button" id="adf-notification-history-open-button"