bluedynamics/yafowil — pull request #7 by thet (2012-04-28 01:26:20+00:00)
Title: add help_as_title property for labels

it can be quite handy to have the help text in the title of the label.
this way, it's not visible at first and takes no screenspace. it uses html semantics and browser can interpret this attribute at their will: mouseover or screenreaders. via javascript the title attribute can also be used fancy, like here: http://twitter.github.com/bootstrap/javascript.html#tooltips

a yaml configuration:

- testlabel:
factory: label
props:
label: help
help: Help!
help_as_title: True

doctests are also included.