MOBILE-3320 a11y: Add missing labels
parent
5b7fe2b327
commit
69d59cd2ab
|
@ -24,7 +24,7 @@
|
|||
|
||||
<!-- Edit -->
|
||||
<ion-item class="ion-text-wrap" *ngIf="edit && loaded">
|
||||
<ion-label></ion-label>
|
||||
<ion-label class="sr-only">{{ plugin.name }}</ion-label>
|
||||
<core-rich-text-editor [control]="control" [placeholder]="plugin.name"
|
||||
name="assignfeedbackcomments_editor" [component]="component" [componentId]="assign.cmid" [autoSave]="true"
|
||||
contextLevel="module" [contextInstanceId]="assign.cmid" elementId="assignfeedbackcomments_editor"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
</ion-label>
|
||||
</ion-item>
|
||||
<ion-item [formGroup]="form">
|
||||
<ion-label></ion-label>
|
||||
<ion-label class="sr-only">{{ 'addon.mod_quiz.quizpassword' | translate }}</ion-label>
|
||||
<core-show-password [name]="'quizpassword'">
|
||||
<ion-input id="addon-mod_quiz-accessrule-password-input" name="quizpassword" type="password"
|
||||
placeholder="{{ 'addon.mod_quiz.quizpassword' | translate }}" [formControlName]="'quizpassword'" [clearOnEdit]="false">
|
||||
|
|
|
@ -19,14 +19,14 @@
|
|||
<core-loading [hideUntil]="loaded">
|
||||
<form [formGroup]="pageForm" #editPageForm *ngIf="loaded">
|
||||
<ion-item class="ion-text-wrap" *ngIf="canEditTitle">
|
||||
<ion-label></ion-label>
|
||||
<ion-label class="sr-only">{{ 'addon.mod_wiki.newpagetitle' | translate }}</ion-label>
|
||||
<ion-input name="title" type="text" [placeholder]="'addon.mod_wiki.newpagetitle' | translate"
|
||||
formControlName="title">
|
||||
</ion-input>
|
||||
</ion-item>
|
||||
|
||||
<ion-item>
|
||||
<ion-label></ion-label>
|
||||
<ion-label class="sr-only">{{ 'core.content' | translate }}</ion-label>
|
||||
<core-rich-text-editor [control]="contentControl" [placeholder]="'core.content' | translate"
|
||||
name="wiki_page_content" [component]="component" [componentId]="cmId" [autoSave]="true" contextLevel="module"
|
||||
[contextInstanceId]="cmId" elementId="newcontent_editor" [draftExtraParams]="editorExtraParams">
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
</ion-select>
|
||||
</ion-item>
|
||||
<ion-item>
|
||||
<ion-label></ion-label>
|
||||
<ion-label class="sr-only">{{ 'addon.notes.note' | translate }}</ion-label>
|
||||
<ion-textarea placeholder="{{ 'addon.notes.note' | translate }}" rows="5" [(ngModel)]="text" name="text"
|
||||
required="required">
|
||||
</ion-textarea>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<ng-container *ngIf="!review">
|
||||
<!-- Textarea. -->
|
||||
<ion-item *ngIf="essayQuestion.textarea && (!essayQuestion.hasDraftFiles || uploadFilesSupported)">
|
||||
<ion-label></ion-label>
|
||||
<ion-label class="sr-only">{{ 'core.question.answer' | translate }}</ion-label>
|
||||
<!-- "Format" and draftid hidden inputs -->
|
||||
<input *ngIf="essayQuestion.formatInput" type="hidden" [name]="essayQuestion.formatInput.name"
|
||||
[value]="essayQuestion.formatInput.value" >
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<ion-content class="ion-padding">
|
||||
<form (ngSubmit)="submitPassword($event)" #enrolPasswordForm>
|
||||
<ion-item>
|
||||
<ion-label></ion-label>
|
||||
<ion-label class="sr-only">{{ 'core.courses.password' | translate }}</ion-label>
|
||||
<core-show-password name="password">
|
||||
<ion-input
|
||||
class="ion-text-wrap core-ioninput-password"
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
</ion-item>
|
||||
</ion-radio-group>
|
||||
<ion-item>
|
||||
<ion-label></ion-label>
|
||||
<ion-label class="sr-only">{{ 'core.login.usernameoremail' | translate }}</ion-label>
|
||||
<ion-input type="text" name="value" placeholder="{{ 'core.login.usernameoremail' | translate }}"
|
||||
formControlName="value" autocapitalize="none" autocorrect="off" [core-auto-focus]="autoFocus">
|
||||
</ion-input>
|
||||
|
|
Loading…
Reference in New Issue