annotate demo/alert.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 e6bc6bbd7a32
children
rev   line source
adamc@644 1 fun main () = return <xml><body>
adam@1784 2 <button value="Click me!" onclick={fn _ => alert "You clicked me!"}/>
adamc@644 3 </body></xml>