WordPress / openverse

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
https://openverse.org
MIT License
240 stars 194 forks source link

Add tooltip to the license explanation popover disclosure #612

Open sarayourfriend opened 2 years ago

sarayourfriend commented 2 years ago

Problem

In https://github.com/WordPress/openverse-frontend/pull/850 we implemented a new license explanation popover; however, we left out the tooltip that is meant to show on the disclosure due to the reasons outlined in this comment https://github.com/WordPress/openverse-frontend/pull/850#issuecomment-1047815002

Description

We need to add a VTooltip component that implements the accessible behaviors for this kind of component. Once that is added, wrap the license explanation popover disclosure with it to show the tooltip on hover/focus. Please refer to the WAI-ARIA spec for the tooltip role.

Implementation

fcoveram commented 1 year ago

Here are the Figma links to:

sarayourfriend commented 10 months ago

@obulat Do you have a sense of whether this would be a good first issue or help wanted? I'm not familiar enough with the frontend anymore to make a good judgement of that.

obulat commented 2 months ago

Blocked by the code freeze during Nuxt 3 migration.