pinafore/src/routes/_components/status
Vincent 852a8582fb fix: Add the non-truncated text in the title attribute (#1598)
The `.card-title` element carries `text-overflow: ellipsis`, (and
`white-space: nowrap`), resulting in the last part of long article
titles not being visible. By adding it to the `title` attribute,
one can see the full title on hovering without having to visit the
article first.

The main concern I had was that the text is now technically
duplicated in the source code, and for short titles, also in the
UI. The primary concern there, however, was screen reader users
getting duplicate announcements. However, I believe the title
attribute is not announced by screen readers, which this (old)
article seems to confirm:
https://developer.paciellogroup.com/blog/2010/11/using-the-html-title-attribute/

That leaves the following two disadvantages:
- This doesn't solve anything for mobile users, who will still
  have to follow the link to see the full title.
- Desktop users can however a (non-truncated) title to see the same
  title again.
2019-10-23 21:54:57 -07:00
..
Media.html fix: return focus to sensitive media button (#1535) 2019-09-24 22:31:56 -07:00
MediaAttachments.html fix: improve style of "large inline" media (#1428) 2019-08-24 10:43:50 -07:00
Notification.html fix: improve focus styles (#1526) 2019-09-24 00:50:35 -07:00
Status.html fix: improve focus styles (#1526) 2019-09-24 00:50:35 -07:00
StatusAuthorHandle.html fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
StatusAuthorName.html refactor: use ids instead of attrs for delegate/shortcut/focus (#1035) 2019-02-23 12:32:00 -08:00
StatusCard.html fix: Add the non-truncated text in the title attribute (#1598) 2019-10-23 21:54:57 -07:00
StatusComposeBox.html chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
StatusContent.html fix: more CSS tweaks for very small screens (#1527) 2019-09-24 00:29:42 -07:00
StatusDetails.html fix: fix lint 2019-08-19 20:23:58 -07:00
StatusHeader.html fix: improve style on very small mobile screens (#1505) 2019-09-21 13:45:48 -07:00
StatusMediaAttachments.html fix: return focus to sensitive media button (#1535) 2019-09-24 22:31:56 -07:00
StatusMentions.html refactor: use ids instead of attrs for delegate/shortcut/focus (#1035) 2019-02-23 12:32:00 -08:00
StatusPoll.html fix: improve focus styles (#1526) 2019-09-24 00:50:35 -07:00
StatusRelativeDate.html fix: remove relative timestamp from tab focus order (#1534) 2019-09-24 22:30:26 -07:00
StatusSidebar.html fix: improve style on very small mobile screens (#1505) 2019-09-21 13:45:48 -07:00
StatusSpoiler.html chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
StatusToolbar.html fix: Add "unfavorite/unboost" label (#1540) 2019-09-26 05:24:05 -07:00