Problem/Motivation

This is a follow-up to the core issue with the same title: #2279111: Form API 'item' elements should not use the 'for' attribute. See that issue for the motivation.

Steps to reproduce

Proposed resolution

Make the same changes to form-element-label.html.twig that the core issue makes.

Remaining tasks

  1. This issue is postponed on the core issue #2279111: Form API 'item' elements should not use the 'for' attribute.

User interface changes

API changes

Data model changes

Comments

benjifisher created an issue. See original summary.

benjifisher’s picture

Title: Form API 'item' elements should not use the 'for' attribute » [PP-1] Form API 'item' elements should not use the 'for' attribute

Besides indicating the postponed status, the "[PP-1]" helps avoid confusion between this issue and the one for Drupal core.