Add title element to Time Read to show accurate number

@zogstrip I suggest we add a title= element here so at least on pointer-capable devices, we provide the actual time, as we do with the other numbers:

image

<span class="number" title="3,222">3.2k</span>

image

<span class="number" title="85,240">85.2k</span>

… but when I hover over read time or recent read time, there’s no title attribute :frowning:

image

I suggest the hover could contain the actual time (if available) plus the hint of how long, e.g. 6 months = 4,380 hours so the title tag can read:

4,381 hours (all time)

and

5 hours (in the last 60 days)

from

<span class="value">6mon</span>

to

<span class="value" title="4,381 hours (all time)">6mon</span>

5 Likes

@nbianca can you add this one to your list?

2 Likes

I added the titles in this PR:

3 Likes