Accessibility
- Renders a native
<label>element; clicking it focuses the associated input viafor. - The required asterisk is
aria-hidden="true"so screen readers use therequiredattribute on the input instead.
NbLabel is a lightweight label element for associating descriptive text with form controls. Use it standalone or let NbTextInput manage it automatically.
<label> element; clicking it focuses the associated input via for.aria-hidden="true" so screen readers use the required attribute on the input instead.