mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ACS-10275] a11y - Notification & Filter indicators not announced by screen readers (#11267)
This commit is contained in:
@@ -380,6 +380,7 @@
|
||||
"TITLE": "Filter",
|
||||
"TYPE": "Type",
|
||||
"FILTER_BY": "Filter by {{ category }}",
|
||||
"ACTIVE_FILTER": "Active filter",
|
||||
"CLEAR": "Clear",
|
||||
"APPLY": "Apply",
|
||||
"FILTERS": {
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user