legend on day list

This commit is contained in:
Tykayn 2022-03-02 14:03:03 +01:00 committed by tykayn
parent d1367ced27
commit 8a22dd85eb

View File

@ -1,6 +1,7 @@
<div class="day-list-container"> <div class="day-list-container">
<div class="days-list" [ngClass]="{ 'colored-weekend-days': environment.enable_colored_weekend_days }"> <div class="days-list" [ngClass]="{ 'colored-weekend-days': environment.enable_colored_weekend_days }">
<fieldset class="date-choice-container has-no-border" *ngFor="let choice of dateChoices; index as id"> <fieldset class="date-choice-container has-no-border" *ngFor="let choice of dateChoices; index as id">
<legend class="sr-only">{{ 'dates.element' | translate }} {{ id + 1 }}</legend>
<div class="date-choice" [ngClass]="{ 'day-weekend': isWeekendDay(choice.date_input) }"> <div class="date-choice" [ngClass]="{ 'day-weekend': isWeekendDay(choice.date_input) }">
<div class="top"> <div class="top">
<label class="pull-left" for="dateChoices_{{ id }}" [attr.aria-describedby]="'format-date-' + id"> <label class="pull-left" for="dateChoices_{{ id }}" [attr.aria-describedby]="'format-date-' + id">