Mercurial > urweb
view tests/label.ur @ 2062:795b5b75453c
Add 'role' data attribute.
Note, that 'role' attribute is a part of reach ARIA API described here:
http://www.w3.org/TR/wai-aria/
Among 'role', it defines lots of aria-* attributes
author | Sergey Mironov <grrwlf@gmail.com> |
---|---|
date | Mon, 07 Jul 2014 10:05:04 +0400 |
parents | 609ab3947a08 |
children |
line wrap: on
line source
fun main () = return <xml><body> <ccheckbox id="A"/> <label for="A">First one</label><br/> <ccheckbox id="B"/> <label for="B">Second one</label><br/> </body></xml>