aria-multiline
BooleanIndicates 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>
Example
aria-multiline="…"
<div role="textbox" aria-multiline="true" contenteditable>…</div>References