github / github/relative-time-element

Attribute to control which attribute is set for `title`

Open
#256 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.