Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new component: (mostly) accessible tooltip #72

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from

Conversation

meowwwls
Copy link

This tooltip is keyboard-accessible and does not disrupt the tabbing order. The tooltip appears when its trigger is focused or hovered. It is hidden both visually and from the screenreader until it is triggered. It's not fully accessible because Esc does not dismiss the tooltip, and the screenreader will not announce the content on hover without JavaScript (at least to the best of my knowledge). I don't know a ton about accessibility but I am trying to learn, so hopefully this turned out OK!

CodePen demo:
https://codepen.io/anon/pen/NaNaWz

@meowwwls meowwwls changed the title Add new component: mostly accessible tooltip Add new component: (mostly) accessible tooltip Sep 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant