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:
@@ -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