Accessibility
- For special cases you can use your own, detached
label. Simply like this:
<label for="NICEID">Content</label><InputFieldid="NICEID"/>
- The
ariaLabelprop allows you to specify anaria-labelattribute for the InputField component. This attribute provides additional information to screen readers, enhancing the accessibility of the component. By usingariaLabel, you can ensure that users who rely on assistive technologies receive the necessary context and information about the component’s purpose and functionality. - If the
labelprop is not provided, theariaLabelprop must be specified to ensure component accessibility.