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",
|
"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": {
|
||||||
|
|||||||
+1
-1
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user