for must refer to a non-hidden form control Web Standard

Description

The value of the for attribute of the label element must be the ID of a non-hidden form control.

Applicable standards

Change history

  • 5.37 May 2020 Fixed false positive on custom elements.
  • 5.36 Jan 2020 Fixed false positive on meter and progress.
  • 5.0 Oct 2012 Added.

This page describes a web site issue detected in HTML documents by SortSite Desktop and OnDemand Suite.

Rule ID: W3cHtml5Assert6