Skip to content

Hide tooltip with escape key

Jarek Ostrowski requested to merge 333451-hide-tooltip-with-escape into master

What does this MR do?

Closes #333451 (closed). Currently, our tooltips/popovers (content on hover/focus) are not dismissible by keyboard, but according to accessibility guidelines they should be:

Dismissible: A mechanism is available to dismiss the additional content without moving pointer hover or keyboard focus, unless the additional content communicates an input error or does not obscure or replace other content;

This came out of an issue looking into tooltips: gitlab-ui#1364 (closed).

Screenshots (strongly suggested)

hide-tooltip

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #333451 (closed)

Edited by Jarek Ostrowski

Merge request reports