In order to follow accessibility standards each component that renders text implements the Element property:
We can use this property to define the HTML element that will be rendered.
In the case of form fields like input texts, we have the property Holder Id that is used to associate labels with input fields. Let's see a TextField component that is composed of a label and an input field:
If we need to associate the label with the input field we only have to set their Holder Ids to the Private Id of the container component, textField in this example:
Copy link