Skip to content

Accept global title attribute #105

Open
@awagner-mainz

Description

@awagner-mainz

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions