Documentation: Anchor link tooltips

While making some edits to the Elasticsearch docs, I've noticed that the link tooltips for anchor links append the word "edit" to the tooltip text, e.g. the link "Search Cancellation" has a tooltip of "Search Cancellationedit" (examples on this page).

Each heading on the docs pages also contains an Edit icon and text, and the anchor link's title attribute is formed based off all the text in the heading tag:

<a class="xref" href="search.html#global-search-cancellation" title="Search Cancellationedit">Search Cancellation<a href="https://github.com/elastic/elasticsearch/edit/6.6/docs/reference/search.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></a>

I’m an editor by trade & not a developer, so I don’t know where or how to begin to fix this, but I just wanted to point it out.

Let me see if it's something we're aware of :slight_smile:

1 Like

Neat! This is a new and I've filed an issue for it:

I have no idea when it started, but I'll look into it.

3 Likes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.