Skip to content

Incorrect use of <label for> attribute in Submission form #5546

@alegontarz

Description

@alegontarz

Describe the bug

A form label is incorrectly using the for attribute, triggering a browser accessibility warning:

"Incorrect use of <label for=FORM_ELEMENT>"
From inspection, the for attribute value (13_array) does not correctly reference a valid or matching form control id, or the associated input element is missing/mismatched.

Image

To Reproduce

Steps to reproduce the behavior:

  1. Open the form page
  2. Inspect the "Other Titles" field in DevTools
  3. Locate the element
  4. Observe the warning in the DevTools console

Expected behavior

Each element should correctly reference a corresponding form control via a matching id, ensuring proper accessibility and no warnings.

Metadata

Metadata

Labels

Type

Projects

Status

🏗 In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions