Skip to content

Tooltips + Icons #683

Answered by TheSisb
ghostling asked this question in Q&A
Aug 24, 2020 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Hi @ghostling,

Icon is dark blue as it is nested in an Anchor. (not very visible in the screenshot as it's being hovered on)

You can pass a color prop to icons to change their color.
<Icon color="colorText" />

Icon is clickable. -- For this, is doing an acceptable workaround? It is still clickable and visually looks strange.

The reason why we request adding tooltip icons inside a focuseable element is so that screen reader users can tab through the page and get the same content as mouse & sighted users. For more details on this subject, you can check out this article: https://inclusive-components.design/tooltips-toggletips/

If you hover long enough it looks like there is two tooltips:

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@ghostling
Comment options

Answer selected by ghostling
Comment options

You must be logged in to vote
1 reply
@ghostling
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants