Use aria hidden for global icons

We use them in buttons/links that already have accessible context
(title, content or label) or just as decorative icons (in menu for
example)
pull/6000/head
Chocobozzz 2023-10-05 15:05:24 +02:00
parent 516479f113
commit e5eefaf7a5
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@ export class GlobalIconComponent implements OnInit {
'filter:internal.common.svg-icons.get-content.params',
'filter:internal.common.svg-icons.get-content.result'
)
nativeElement.ariaHidden = 'true'
if (this.width) {
nativeElement.style.width = this.width