aria-multiline attribute | ariaMultiline property

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

Internet Explorer 10

Syntax


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

Property values

Type: DOMString

One of the following values:

ValueCondition
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)

 

 

Show:
© 2014 Microsoft