Inconsistent title attribute in topic list

Have a look at the following piece of code which is a snapshot of the end an existing topic row:

<td class="num posts-map posts heatmap-" title="This topic has 0 replies">
  <a href="" class="posts-map badge-posts heatmap-"><span class="number" title="0">0</span></a>
</td>
<td class="num views "><span class="number" title="this topic has been viewed 6 times">6</span></td>
<td class="num age activity" title="First post: August 11, 2016 5:27pm
Last post: August 11, 2016 5:32pm">
  <a href="/t/keyboard-shortcuts-for-tracking-topics-not-working/48489/1"><span class="relative-date" data-time="1470904343596" data-format="tiny">20m</span></a>
</td>
  • the Replies column has 2 titles: on the cell and on the span;
  • the Views column has a title on the span element;
  • the Activity column has a title on the cell.

Maybe the distinction between a cell with a link and one without is wanted, but not two overlapping titles I guess. :slight_smile:

Thank you! :wink:

P.S.: these are details, but details matter.

This is related to

BTW: I think it’s weird that there is a non-existent heatmap- class applied when there are 0 replies.

3 Likes