Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I read from this site Site that aria-multiline is to provide the multi line attribute.


Can you please anyone tell the difference between these two controls

HTML
<textarea rows="4" cols="50" id="text"></textarea>

<textarea rows="4" cols="50" aria-labelledby="aria-text-label" id="aria-text" role="textbox" aria-multiline="true"></textarea>


Is it possible to provide a textbox multiline like this

HTML
<input type="text" role="textbox" aria-multiline="true" />


Thanks

Arjun
Posted
Updated 21-Jul-14 0:22am
v2

1 solution

Aria itself is always written in a single line: http://en.wikipedia.org/wiki/Aria[^].

If a sheet music piece is written in several lines, it means that this is the partiture with other lines written fro other voices and instruments: http://en.wikipedia.org/wiki/Partiture[^]. :-)

Input element in HTML is always single line. If does not need to be multiline, just because the textarea element does it. I have no idea why would not using it.

—SA
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900