Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept global title attribute #105

Open
awagner-mainz opened this issue Oct 24, 2022 · 0 comments
Open

Accept global title attribute #105

awagner-mainz opened this issue Oct 24, 2022 · 0 comments

Comments

@awagner-mainz
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant