Page MenuHomePhabricator

Autocomment formatter section link should be wider than just the one arrow character
Closed, DuplicatePublic

Description

A usual line consists of

03:30, 15 April 2013 (diff | hist) . . (-9)‎ . . Template talk:GeoTemplate ‎ (→‎Yes you needn't produce misleading two point Google results anymore: well at least the q=loc: works still!)

Here there is a tiny linked arrow.
Why not link the entire sentence along with the arrow?
Please do not require the user to aim his mouse precisely upon a single character wide link! I cannot think of any major website that would do that...
The whole sentence after it is completely wastefully unlinked.
This is not just a footnote where space is at a premium.


See Also:

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:15 AM
bzimport set Reference to bz47342.
bzimport added a subscriber: Unknown Object (MLST).
  • Bug 43350 has been marked as a duplicate of this bug. ***

Related URL: https://gerrit.wikimedia.org/r/61602 (Gerrit Change I37053fd80432e6932a165eddbaf86a0426369b54)

prageck wrote:

I submitted a patch for this bug, but Anomie suggested that we can not include the autocomment (the sentence after the arrow) into the link without throwing away the ability to have links in the autocomment itself.

Well all I can say is 99% of the time...

tstarling added a subscriber: tstarling.

The title attribute only contains the name of the page, which is the same in every case, it doesn't contain the heading or anchor. Improving the title attribute would satisfy WCAG 2.0 SC 2.4.9, although begrudgingly, since note H33 recommends using CSS to hide part of the link text instead, due to "extensive user agent limitations" with the title attribute.

Adding an aria-label attribute would also satisfy WCAG 2.0, overriding the text of the link for screen readers.

Change 61602 had a related patch set uploaded (by Aklapper; owner: Prageck):
[mediawiki/core@master] formatAutocomments: Move section title after arrow into the section link

https://gerrit.wikimedia.org/r/61602

Change 61602 abandoned by Anomie:
formatAutocomments: Move section title after arrow into the section link

Reason:
Obsoleted by I1f845592b

https://gerrit.wikimedia.org/r/61602