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/+admin | |
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/+admin')
3 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/+admin/follows/following-list/following-list.component.html b/client/src/app/+admin/follows/following-list/following-list.component.html index 61b813305..ed521d650 100644 --- a/client/src/app/+admin/follows/following-list/following-list.component.html +++ b/client/src/app/+admin/follows/following-list/following-list.component.html | |||
@@ -15,7 +15,7 @@ | |||
15 | <span class="sr-only" i18n>Clear filters</span> | 15 | <span class="sr-only" i18n>Clear filters</span> |
16 | </div> | 16 | </div> |
17 | <a class="ml-2 follow-button" (click)="addDomainsToFollow()" (key.enter)="addDomainsToFollow()"> | 17 | <a class="ml-2 follow-button" (click)="addDomainsToFollow()" (key.enter)="addDomainsToFollow()"> |
18 | <my-global-icon iconName="add"></my-global-icon> | 18 | <my-global-icon iconName="add" aria-hidden="true"></my-global-icon> |
19 | <ng-container i18n>Follow domain</ng-container> | 19 | <ng-container i18n>Follow domain</ng-container> |
20 | </a> | 20 | </a> |
21 | </div> | 21 | </div> |
diff --git a/client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.html b/client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.html index 589a11b7b..7a77b8842 100644 --- a/client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.html +++ b/client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.html | |||
@@ -15,7 +15,7 @@ | |||
15 | <span class="sr-only" i18n>Clear filters</span> | 15 | <span class="sr-only" i18n>Clear filters</span> |
16 | </div> | 16 | </div> |
17 | <a class="ml-2 block-button" (click)="addServersToBlock()" (key.enter)="addServersToBlock()"> | 17 | <a class="ml-2 block-button" (click)="addServersToBlock()" (key.enter)="addServersToBlock()"> |
18 | <my-global-icon iconName="add"></my-global-icon> | 18 | <my-global-icon iconName="add" aria-hidden="true"></my-global-icon> |
19 | <ng-container i18n>Mute domain</ng-container> | 19 | <ng-container i18n>Mute domain</ng-container> |
20 | </a> | 20 | </a> |
21 | </div> | 21 | </div> |
diff --git a/client/src/app/+admin/users/user-list/user-list.component.html b/client/src/app/+admin/users/user-list/user-list.component.html index 6caf37212..6c6c64194 100644 --- a/client/src/app/+admin/users/user-list/user-list.component.html +++ b/client/src/app/+admin/users/user-list/user-list.component.html | |||
@@ -2,7 +2,7 @@ | |||
2 | <div i18n class="form-sub-title">Users list</div> | 2 | <div i18n class="form-sub-title">Users list</div> |
3 | 3 | ||
4 | <a class="add-button" routerLink="/admin/users/create"> | 4 | <a class="add-button" routerLink="/admin/users/create"> |
5 | <my-global-icon iconName="add"></my-global-icon> | 5 | <my-global-icon iconName="add" aria-hidden="true"></my-global-icon> |
6 | <ng-container i18n>Create user</ng-container> | 6 | <ng-container i18n>Create user</ng-container> |
7 | </a> | 7 | </a> |
8 | </div> | 8 | </div> |