• Label-able Elements Some elements, not all of them form-associated, are categorized as label-able elements. These are elements that can be associated with a label element.

    this function ignore the 'type' attribute of 'input' tag as '' is considered as not labeled element

    Parameters

    • tagName: string

      the tested tag name

    Returns boolean