Missing "for" attribute in the label of the date range input

Created on 20 February 2023, over 1 year ago
Updated 27 February 2023, over 1 year ago

Problem/Motivation

When creating a date range, the <input> and its <label> are correctly rendered except that the <label> has no "for" attribute.

Expected behaviour

The <label> should have a "for" attribute with the "id" of the <input> as value. It is the expected way to link the label to it's corresponding input, at least for screen readers.

🐛 Bug report
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

🇪🇸Spain theosuja

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024