The HTMLInputElement.labels read-only property returns a NodeList of the label elements associated with the input element, if the element is not hidden. If the element has the type hidden, the property returns null.
HTMLInputElement.labels
label
input
hidden
null
external NodeList? get labels;