Note TextField extends props from HTMLInputElement on web. On mobile, it extends TextInputProps from react-native.
Input Label
Default composition of Inputs.
Loading...
Accessible Text Inputs
TextInput comes with an accessibilityLabel prop. If no accessibilityLabel is passed, it will use the label as the accessibilityLabel. If you want an accessibilityLabel that differs from the Label, you can set this prop.
Here, since no accessibilityLabel is passed, the accessibilityLabel will be "Email".
Example of passing an accessibilityLabel. For web, this will set aria-label="Enter a Coinbase Email" under the hood