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/+my-account | |
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/+my-account')
5 files changed, 7 insertions, 7 deletions
diff --git a/client/src/app/+my-account/my-account-history/my-account-history.component.html b/client/src/app/+my-account/my-account-history/my-account-history.component.html index 56d63f299..d3a329e8f 100644 --- a/client/src/app/+my-account/my-account-history/my-account-history.component.html +++ b/client/src/app/+my-account/my-account-history/my-account-history.component.html | |||
@@ -5,7 +5,7 @@ | |||
5 | </div> | 5 | </div> |
6 | 6 | ||
7 | <button class="delete-history" (click)="deleteHistory()" i18n> | 7 | <button class="delete-history" (click)="deleteHistory()" i18n> |
8 | <my-global-icon iconName="delete"></my-global-icon> | 8 | <my-global-icon iconName="delete" aria-hidden="true"></my-global-icon> |
9 | Delete history | 9 | Delete history |
10 | </button> | 10 | </button> |
11 | </div> | 11 | </div> |
diff --git a/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html b/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html index dec3b14cc..429943f71 100644 --- a/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html +++ b/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html | |||
@@ -1,18 +1,18 @@ | |||
1 | <div class="header"> | 1 | <div class="header"> |
2 | <a routerLink="/my-account/settings" fragment="notifications" i18n> | 2 | <a routerLink="/my-account/settings" fragment="notifications" i18n> |
3 | <my-global-icon iconName="cog"></my-global-icon> | 3 | <my-global-icon iconName="cog" aria-hidden="true"></my-global-icon> |
4 | Notification preferences | 4 | Notification preferences |
5 | </a> | 5 | </a> |
6 | 6 | ||
7 | <button class="btn" [disabled]="!hasUnreadNotifications()" (click)="markAllAsRead()"> | 7 | <button class="btn" [disabled]="!hasUnreadNotifications()" (click)="markAllAsRead()"> |
8 | <ng-container *ngIf="hasUnreadNotifications()"> | 8 | <ng-container *ngIf="hasUnreadNotifications()"> |
9 | <my-global-icon iconName="inbox-full"></my-global-icon> | 9 | <my-global-icon iconName="inbox-full" aria-hidden="true"></my-global-icon> |
10 | 10 | ||
11 | <span i18n>Mark all as read</span> | 11 | <span i18n>Mark all as read</span> |
12 | </ng-container> | 12 | </ng-container> |
13 | 13 | ||
14 | <ng-container *ngIf="!hasUnreadNotifications()"> | 14 | <ng-container *ngIf="!hasUnreadNotifications()"> |
15 | <my-global-icon iconName="circle-tick"></my-global-icon> | 15 | <my-global-icon iconName="circle-tick" aria-hidden="true"></my-global-icon> |
16 | 16 | ||
17 | <span i18n>All read</span> | 17 | <span i18n>All read</span> |
18 | </ng-container> | 18 | </ng-container> |
diff --git a/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.html b/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.html index 4cf08ab66..6fd94474d 100644 --- a/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.html +++ b/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.html | |||
@@ -1,6 +1,6 @@ | |||
1 | <div class="video-channels-header"> | 1 | <div class="video-channels-header"> |
2 | <a class="create-button" routerLink="create"> | 2 | <a class="create-button" routerLink="create"> |
3 | <my-global-icon iconName="add"></my-global-icon> | 3 | <my-global-icon iconName="add" aria-hidden="true"></my-global-icon> |
4 | <ng-container i18n>Create video channel</ng-container> | 4 | <ng-container i18n>Create video channel</ng-container> |
5 | </a> | 5 | </a> |
6 | </div> | 6 | </div> |
diff --git a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.html b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.html index 86844ce01..7bd2fa19f 100644 --- a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.html +++ b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.html | |||
@@ -4,7 +4,7 @@ | |||
4 | <input type="text" placeholder="Search your playlists" i18n-placeholder [(ngModel)]="videoPlaylistsSearch" (ngModelChange)="onVideoPlaylistSearchChanged()" /> | 4 | <input type="text" placeholder="Search your playlists" i18n-placeholder [(ngModel)]="videoPlaylistsSearch" (ngModelChange)="onVideoPlaylistSearchChanged()" /> |
5 | 5 | ||
6 | <a class="create-button" routerLink="create"> | 6 | <a class="create-button" routerLink="create"> |
7 | <my-global-icon iconName="add"></my-global-icon> | 7 | <my-global-icon iconName="add" aria-hidden="true"></my-global-icon> |
8 | <ng-container i18n>Create playlist</ng-container> | 8 | <ng-container i18n>Create playlist</ng-container> |
9 | </a> | 9 | </a> |
10 | </div> | 10 | </div> |
diff --git a/client/src/app/+my-account/my-account-videos/my-account-videos.component.html b/client/src/app/+my-account/my-account-videos/my-account-videos.component.html index 55cbfda95..9192aec6d 100644 --- a/client/src/app/+my-account/my-account-videos/my-account-videos.component.html +++ b/client/src/app/+my-account/my-account-videos/my-account-videos.component.html | |||
@@ -17,7 +17,7 @@ | |||
17 | > | 17 | > |
18 | <ng-template ptTemplate="globalButtons"> | 18 | <ng-template ptTemplate="globalButtons"> |
19 | <span class="action-button action-button-delete-selection" (click)="deleteSelectedVideos()"> | 19 | <span class="action-button action-button-delete-selection" (click)="deleteSelectedVideos()"> |
20 | <my-global-icon iconName="delete"></my-global-icon> | 20 | <my-global-icon iconName="delete" aria-hidden="true"></my-global-icon> |
21 | <ng-container i18n>Delete</ng-container> | 21 | <ng-container i18n>Delete</ng-container> |
22 | </span> | 22 | </span> |
23 | </ng-template> | 23 | </ng-template> |