aria-multiline attribute | ariaMultiline property

[This documentation is preliminary and is subject to change.]

Indicates whether a text box accepts multiple lines of input or only a single line.

Internet Explorer 10

Syntax

HTML
<element aria-multiline="true|false" ... />

Property values

Type: DOMString

One of the following values:

Value Condition
true

This is a multi-line text box.

false

This is a single line text box.

 

Standards information

Remarks

Used in Roles
textbox

 

The default behavior of the Enter key depends on whether you type it into a single-line <input type=text> element (submit the form) or a multi-line <textarea> element (insert a new line). You can apply these same default behaviors to the textbox role by using the aria-multiline attribute.

See also

Accessible Rich Internet Applications (ARIA)

 

 

Send comments about this topic to Microsoft

Build date: 7/24/2012