summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Sergey Mironov <grrwlf@gmail.com>2014-07-07 10:05:04 +0400
committerGravatar Sergey Mironov <grrwlf@gmail.com>2014-07-07 10:05:04 +0400
commitcb0fdb4d2b0682d67fe57dc755b574d1867216b5 (patch)
treed831bad0e80c0f7bf88fe7168b5365da89b0f581
parent9515ba96f8f48b17888267c15b3181893cca6be3 (diff)
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
-rw-r--r--lib/ur/basis.urs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ur/basis.urs b/lib/ur/basis.urs
index 30271ce9..5d0a0c8a 100644
--- a/lib/ur/basis.urs
+++ b/lib/ur/basis.urs
@@ -848,7 +848,7 @@ con scrollEvents = [Onscroll = transaction unit]
con boxEvents = focusEvents ++ mouseEvents ++ keyEvents ++ resizeEvents ++ scrollEvents
con tableEvents = focusEvents ++ mouseEvents ++ keyEvents
-con boxAttrs = [Data = data_attr, Id = id, Title = string] ++ boxEvents
+con boxAttrs = [Data = data_attr, Id = id, Title = string, Role = string] ++ boxEvents
con tableAttrs = [Data = data_attr, Id = id, Title = string] ++ tableEvents
val span : bodyTag boxAttrs