Commit 627d3f9c authored by John Voskuilen's avatar John Voskuilen
Browse files

Issue #3273363 by: Accessibility warnings - undo Weekslot

parent 95020a07
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -45,7 +45,11 @@ class OfficeHoursWeekSlot extends OfficeHoursBaseSlot {
    $element['day'] = [
      // For accessibility (a11y) screen readers, a header/title is introduced.
      '#title' => $label,
      '#type' => 'item',
      // '#type' => 'item', // #3273363.
      '#type' => 'hidden',
      '#prefix' => $day_delta
        ? "<div class='office-hours-more-label'>$label</div>"
        : "<div class='office-hours-label'>$label</div>",
      '#default_value' => $day,
      '#value' => $day,
    ];