MOBILE-3320 a11y: Remove aria-label already are explained inside

main
Pau Ferrer Ocaña 2021-05-21 16:15:50 +02:00
parent 970b5220ee
commit ce7650bb3b
6 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,7 @@
</core-format-text>
</h1>
<ion-buttons slot="end">
<ion-button fill="clear" (click)="save()" [attr.aria-label]="'core.save' | translate">
<ion-button fill="clear" (click)="save()">
{{ 'core.save' | translate }}
</ion-button>
</ion-buttons>

View File

@ -12,7 +12,7 @@
</ion-toolbar>
<core-navbar-buttons slot="end">
<ion-button [hidden]="!canSaveGrades" fill="clear" (click)="submitGrade()" [attr.aria-label]="'core.done' | translate">
<ion-button [hidden]="!canSaveGrades" fill="clear" (click)="submitGrade()">
{{ 'core.done' | translate }}
</ion-button>
</core-navbar-buttons>

View File

@ -8,7 +8,7 @@
</core-format-text>
</h1>
<ion-buttons slot="end">
<ion-button *ngIf="entry" fill="clear" (click)="save($event)" [attr.aria-label]="'core.save' | translate">
<ion-button *ngIf="entry" fill="clear" (click)="save($event)">
{{ 'core.save' | translate }}
</ion-button>
</ion-buttons>

View File

@ -9,7 +9,7 @@
</h1>
<ion-buttons slot="end">
<ion-button fill="clear" (click)="save()" [attr.aria-label]="'core.save' | translate">
<ion-button fill="clear" (click)="save()">
{{ 'core.save' | translate }}
</ion-button>
</ion-buttons>

View File

@ -9,7 +9,7 @@
</core-format-text>
</h1>
<ion-buttons slot="end" [hidden]="!evaluating">
<ion-button fill="clear" (click)="saveEvaluation()" [attr.aria-label]="'core.save' | translate">
<ion-button fill="clear" (click)="saveEvaluation()">
{{ 'core.save' | translate }}
</ion-button>
</ion-buttons>

View File

@ -12,7 +12,7 @@
[attr.aria-label]="'core.save' | translate">
{{ 'core.save' | translate }}
</ion-button>
<ion-button *ngIf="canAddFeedback" fill="clear" (click)="saveEvaluation()" [attr.aria-label]="'core.save' | translate">
<ion-button *ngIf="canAddFeedback" fill="clear" (click)="saveEvaluation()">
{{ 'core.save' | translate }}
</ion-button>
</ion-buttons>