github / github/relative-time-element
Attribute to control which attribute is set for `title`
Open
- Dominant language
- JavaScript
- Stars
- 4k
- Forks
- 192
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 5
Description
Currently the element always sets the `title` attribute, but to implement a custom tooltip solution, it would be nice for it to set a different HTML attribute. How about a property `titleAttribute="title"`, that could for example be set to `aria-label`?
Contributor guide
Assessment
This issue has not been assessed yet.