Project

General

Profile

Actions

Bug #102652

open

Form : multicheckbox field has a top label with a "for" attribute that doesn't match a labelable form element

Added by RVVN no-lastname-given 5 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2023-12-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hi,

according to this Mozilla Dev documentation, the value of the for attribute must be a single id for a labelable form-related element in the same document as the <label> element. (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label#for)

Labelable form elements are listed here : https://developer.mozilla.org/en-US/docs/Web/HTML/Content_categories#labelable

The multicheckbox field has an top label with a "for" attribute doesn't match any form element id, but a div one.

Google Chrome complains with this message :

The label's for attribute doesn't match any element id. This might prevent the browser from correctly autofilling the form and accessibility tools from working correctly.
To fix this issue, make sure the label's for attribute references the correct id of a form field.

No data to display

Actions

Also available in: Atom PDF