Page MenuHomePhabricator

Improve the design of the visible anchor for hidden HTML comments
Closed, DeclinedPublic

Description

Hidden HTML comments are used to provide information and instructions to other editors. For example, one article begins like this:

The '''No Child Left Behind Act of 2001''' <!-- NOTE:  Federal legislation is dated according to the date of 
final legislative action, NOT from the date that the President signs them or the date that their provisions
go into effect. --> ('''NCLB''') is a United States [[Act of Congress]] that...

Comments like these stop editors from making unwanted edits that will be reverted (in this instance, changing the accurate "2001" to the incorrect "2002"—a error that has basically stopped since I added that HTML comment several years ago).

In VisualEditor, this type of note, regardless of size, is represented as a small, single, light gray character, about the size of the letter M. It looks like a small white exclamation mark inside a gray dot. The content is not visible unless explicitly clicked on.

Multiple editors have expressed the opinion that something that is easier to see and obviously not part of the normal text, such as an orange dot, would be desirable. Please consider ways of differentiating the comment's icon from plain running text.

Event Timeline

Whatamidoing-WMF raised the priority of this task from to Needs Triage.
Whatamidoing-WMF updated the task description. (Show Details)
nshahquinn-wmf set Security to None.
Deskana subscribed.

The design has changed since this task was filed—it now shows the first part of the comment, which makes it clearer to people that there's a comment there to read. This is better than it was when the task was filed, but still not perfect. Given the other priorities of the annual plan and movement strategy, there will more than likely not be more time allocated to improving this further.

Screen Shot 2018-08-30 at 13.57.47.png (150×1 px, 47 KB)