Clarify editing the title of a link in the Content Editor is editing the tooltip not the link text itself

Summary

When creating and editing a link in the Content Editor, there are a few issues with handling the text of the title.

Steps to reproduce

See current bug behaviour

Example Project

Wiki page editing with Content Editor

What is the current bug behavior?

Inserting a link from toolbar

It is not as clear to set the "title" using the toolbar versus the method of the floating toolbar

CleanShot_2022-07-01_at_23.29.20

Inserting link from floating toolbar

The highlighted text does not appear in the popup in the "Title" input when creating a link with floating toolbar.

CleanShot_2022-07-01_at_23.32.29

Editing a link from floating toolbar

  • The title entered does not update the text on the page
  • The title entered appears in the URL popup but does not appear on the page

CleanShot_2022-07-01_at_23.35.36

This is input [does not match](https://about.gitlab.com/direction/create/editor/ "hello") up

What is the expected correct behavior?

It should be more clear that editing the title attribute does not change the actual link text, rather the tooltip/description text for the link. This is an important feature for accessibility but not the same as editing the text of the link itself.

Relevant logs and/or screenshots

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of:
`sudo gitlab-rake gitlab:env:info`)

(For installations from source run and paste the output of:
`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes

Edited by Eric Schurter