Accessibility
- For special cases you can use your own, detached
label
. Simply like this:
<label for="NICEID">Content</label><InputFieldid="NICEID"/>
- The
ariaLabel
prop allows you to specify anaria-label
attribute 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
label
prop is not provided, theariaLabel
prop must be specified to ensure component accessibility.