Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

...

  • On hover over the text area, the mouse cursor will change to a text cursor.

  • On click:

    • where no text has been added to the text area:

      • a text cursor will appear at the beginning of the text area.

      • the hint text will disappear.

    • where text already exists in the text area:

      • a text cursor will appear in the position where the user clicks.

      • double-clicking a word inside the text area will select that word.

      • triple-clicking the text area will select all of the text.

  • When the text area becomes inactive (user clicks away), if no text has been added the hint text will reappear.

  • The character count will increase as text is entered. (See Validations and errors below for when the character limit is reached).

  • In special cases, the height of the text area will increase automatically in response to the amount of entered text.

  • A vertical scrollbar may be used where the user enters more lines of text than the text area can show.

...

Validations and errors

Please refer to the Field Validation page for more information.

A text area with a warning will have an orange border and a warning icon, as shown below:

...

  • Always provide a clear and meaningful preceding Label for any input field.

  • Where appropriate, help users by providing a guiding/hint text describing the expected input text.

Accessibility compliance

A text area must have a label, an icon or a button which indicates its purpose.

Unless otherwise specified, see our general compliance information in Fundamentals - Accessibility.

...