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.69.0 2024