Skip to content

Find what you need, instantly

Search components, ARIA roles & attributes, and WCAG criteria.

All attributes

aria-multiline

Boolean

Indicates whether a textbox accepts a single line or multiple lines of text. It affects how Enter behaves — inserting a newline in a multiline box versus submitting in a single-line one — and how screen readers describe the field. A native `<textarea>` implies this automatically; set it on custom text widgets.

Values
true
The textbox accepts multiple lines of input.
false (default)
The textbox accepts only a single line.
Used on
<textarea>
Associated roles
Example
aria-multiline="…"
<div role="textbox" aria-multiline="true" contenteditable>…</div>