v1.0

Helper Text

A text that appears near a input to help users understand input requirements.

Why use this prefab?

While you can create text on any form it will lack any way to associated the text correctly to the input for screen readers. This prefabs allows the text to be associated correctly through aria-describedby and id attributes.

Why use this prefab?

While you can create text on any form it will lack any way to associated the text correctly to the input for screen readers. This prefabs allows the text to be associated correctly through aria-describedby and id attributes.

Why use this prefab?

While you can create text on any form it will lack any way to associated the text correctly to the input for screen readers. This prefabs allows the text to be associated correctly through aria-describedby and id attributes.

Features

Features

Features

Accessbile helper text for form inputs.

Use any framer component all styling done within framer canvas not in the code or sidebar.

Sets the correct aria-live type depending if it is a error text or hint.

Use for any input or prefab we provide.

How to use

How to use

How to use

Use any of input prefab: Use any of the provided framer prefab input/controls provided that have the attribute for aria-describedby to correctly associate the helper text id to that input.

Add prefab: Add the prefab to the input/control prefab and set the id of the helper text and the input/control aria-describedby to be the same.

Done: That is it! You are all set to use this prefab.

Accessbility considerations

Accessbility considerations

Accessbility considerations

When creating the component that will be used with this prefab consider the following:

When using helper text ensure to only show the text when the text has relevant hint or error message. Having a empty aria-describedby creates errors for screen readers.

If the helper text is an error be sure to use type of error as it will set the correct aria-live to assertive where screen readers will be aware of the message instantly.

Properties

Properties

Properties

Property

Default

Description

ID

String

The id of the prefab and will be referenced by other inputs for the aria-describedby attribute value.

Text

String

The text of the label.

Styles

String

Sets the styles of the text.