AUI provides a wrapper around the native label
element for use with other AUI components.
An AUI form label should be used with the following components only:
API status: | experimental |
---|---|
Web resource key: |
com.atlassian.auiplugin:aui-label
|
AMD Module key: | N/A |
Experimental API: | 5.9 |
Attributes can optionally be set on the aui-label
element.
Attribute | Type | Description |
---|---|---|
for required |
String | The id of the element that the AUI form label is bound to. |
form |
String | The id of the form element that the AUI form label is associated with. See the HTML5 spec for more details. |