Skip to content
This repository was archived by the owner on Jul 5, 2022. It is now read-only.
This repository was archived by the owner on Jul 5, 2022. It is now read-only.

Form label is present, no content #790

@shiffman

Description

@shiffman

(Also on homepage)

screen shot 2018-10-19 at 2 33 25 pm

Empty form label
What It Means
A form label is present, but does not contain any content.
Why It Matters
A <label> element that is associated to a form control but does not contain text will not present any information about the form control to the user.
How to Fix It
Ensure that the form label contains text that describes the function of the associated form control. > Labels are not required for image, submit, reset, button, or hidden form controls. If a label is not necessary visually, a descriptive title attribute may be added to the form control.

Metadata

Metadata

Assignees

No one assigned

    Labels

    accessibilityIssues related to WCAG compliance

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions