Status Pilot
Status is an indicator with an icon that provides information to a user.
Props
Accessibility
Icons are a great way to help users who have difficulties with reading, focus attention, and low vision impairments. For such use cases, Status can be used without accompanying title
text.
ARIA attributes
If Status appears without title
text, accessibilityLabel
should be used to provide a text description for screen readers to announce and communicate the represented icon, as shown in the first example.
Avoid using the generic words like "image" or "icon"; instead, use verbs that describe the meaning of the icon, for example: "there is a problem with this item".
If using title
to describe what the icon represents, accessibilityLabel
does not need to be provided, as shown in the second example.
Localization
Be sure to localize the title
, subtext
and accessibilityLabel
props. Note that localization can lengthen text by 20 to 30 percent.