diff options
author | Caroline Chuong <caroline.chuong@octo.com> | 2020-06-08 19:42:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-08 19:42:51 +0200 |
commit | 6ad971d5f5e9ea2adfc58bd83ba1790efa4a8d12 (patch) | |
tree | 15cd22d1e2de6166cbf5de0501ae1692d6deb4c2 /client/src/app/shared/users | |
parent | c2caa99b942dea7fa9d2856f53efd1316169658e (diff) | |
download | PeerTube-6ad971d5f5e9ea2adfc58bd83ba1790efa4a8d12.tar.gz PeerTube-6ad971d5f5e9ea2adfc58bd83ba1790efa4a8d12.tar.zst PeerTube-6ad971d5f5e9ea2adfc58bd83ba1790efa4a8d12.zip |
add aria-hidden to non-descriptive icons (#2844)
Diffstat (limited to 'client/src/app/shared/users')
-rw-r--r-- | client/src/app/shared/users/user-notifications.component.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/shared/users/user-notifications.component.html b/client/src/app/shared/users/user-notifications.component.html index 108122b57..8dbe6e329 100644 --- a/client/src/app/shared/users/user-notifications.component.html +++ b/client/src/app/shared/users/user-notifications.component.html | |||
@@ -81,7 +81,7 @@ | |||
81 | </ng-container> | 81 | </ng-container> |
82 | 82 | ||
83 | <ng-container *ngSwitchCase="UserNotificationType.MY_VIDEO_PUBLISHED"> | 83 | <ng-container *ngSwitchCase="UserNotificationType.MY_VIDEO_PUBLISHED"> |
84 | <my-global-icon iconName="sparkle"></my-global-icon> | 84 | <my-global-icon iconName="sparkle" aria-hidden="true"></my-global-icon> |
85 | 85 | ||
86 | <div class="message" i18n> | 86 | <div class="message" i18n> |
87 | Your video <a (click)="markAsRead(notification)" [routerLink]="notification.videoUrl">{{ notification.video.name }}</a> has been published | 87 | Your video <a (click)="markAsRead(notification)" [routerLink]="notification.videoUrl">{{ notification.video.name }}</a> has been published |
@@ -89,7 +89,7 @@ | |||
89 | </ng-container> | 89 | </ng-container> |
90 | 90 | ||
91 | <ng-container *ngSwitchCase="UserNotificationType.MY_VIDEO_IMPORT_SUCCESS"> | 91 | <ng-container *ngSwitchCase="UserNotificationType.MY_VIDEO_IMPORT_SUCCESS"> |
92 | <my-global-icon iconName="cloud-download"></my-global-icon> | 92 | <my-global-icon iconName="cloud-download" aria-hidden="true"></my-global-icon> |
93 | 93 | ||
94 | <div class="message" i18n> | 94 | <div class="message" i18n> |
95 | <a (click)="markAsRead(notification)" [routerLink]="notification.videoUrl || notification.videoImportUrl">Your video import</a> {{ notification.videoImportIdentifier }} succeeded | 95 | <a (click)="markAsRead(notification)" [routerLink]="notification.videoUrl || notification.videoImportUrl">Your video import</a> {{ notification.videoImportIdentifier }} succeeded |
@@ -97,7 +97,7 @@ | |||
97 | </ng-container> | 97 | </ng-container> |
98 | 98 | ||
99 | <ng-container *ngSwitchCase="UserNotificationType.MY_VIDEO_IMPORT_ERROR"> | 99 | <ng-container *ngSwitchCase="UserNotificationType.MY_VIDEO_IMPORT_ERROR"> |
100 | <my-global-icon iconName="cloud-error"></my-global-icon> | 100 | <my-global-icon iconName="cloud-error" aria-hidden="true"></my-global-icon> |
101 | 101 | ||
102 | <div class="message" i18n> | 102 | <div class="message" i18n> |
103 | <a (click)="markAsRead(notification)" [routerLink]="notification.videoImportUrl">Your video import</a> {{ notification.videoImportIdentifier }} failed | 103 | <a (click)="markAsRead(notification)" [routerLink]="notification.videoImportUrl">Your video import</a> {{ notification.videoImportIdentifier }} failed |