Skip to content

Commit

Permalink
Fixes AB#610: Form field errors are announced
Browse files Browse the repository at this point in the history
  • Loading branch information
gingi committed Jan 20, 2023
1 parent 9732579 commit 727f1ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/@batch-flask/ui/form/form-field/form-field.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
<ng-content select="[blFormFieldSuffix]"></ng-content>
</div>
</div>
<div class="hints-container" *ngIf="hints.length > 0">
<div class="hints-container" aria-live="polite">
<ng-content select="bl-hint"></ng-content>
</div>
<div class="errors-container" *ngIf="errors.length > 0">
<div class="errors-container" aria-live="assertive">
<ng-content select="bl-error"></ng-content>
</div>

0 comments on commit 727f1ca

Please sign in to comment.