You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today I wanted to migrate a couple of elements defined in my odd from an inline to a link behaviour. In both cases, I want them to offer some additional information (a normalized tag for the text span being contained in the element) in a hover popup. While in the inline behaviour I have defined a code template <span title="[[title]]">[[content]]</span> and a corresponding title parameter, this did not work so well with the link behaviour. Coming to think of it, title is a global html attribute and I would suggest to offer title as an optional parameter for all behaviours that create "simple" html elements, like (at least) anchor, block, heading, inline, listItem etc.
Whether to implement this in fact as html title attribute or, e.g. for accessibility reasons, in other ways could be a matter of further debate perhaps?
The text was updated successfully, but these errors were encountered:
Today I wanted to migrate a couple of elements defined in my odd from an inline to a link behaviour. In both cases, I want them to offer some additional information (a normalized tag for the text span being contained in the element) in a hover popup. While in the inline behaviour I have defined a code template
<span title="[[title]]">[[content]]</span>
and a correspondingtitle
parameter, this did not work so well with the link behaviour. Coming to think of it,title
is a global html attribute and I would suggest to offertitle
as an optional parameter for all behaviours that create "simple" html elements, like (at least) anchor, block, heading, inline, listItem etc.Whether to implement this in fact as html title attribute or, e.g. for accessibility reasons, in other ways could be a matter of further debate perhaps?
The text was updated successfully, but these errors were encountered: