humanmade / humanmade/modular-page-builder

Link labels and input fields together with for=id

Open
#28 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
149
Forks
28
PR merge metrics
No merged PRs in 30d

Description

At the moment the labels and input fields are not connected with each other.
And input field should have an unique id with can be referred to by the label using for="id"
The unique ID is already there, it just needs to be linked to the label.

Advantage: assistive technology (for example a screen reader) can read the proper labels with the input fields. Also, with checkbox and radio buttons the option will be selected by clicking the label.

For example with the HTML of the header in the header module should be:

```


Heading




```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.