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

Use tooltips for all the icon-only controls #3384

Closed
afercia opened this issue Nov 8, 2017 · 8 comments · Fixed by #4318
Closed

Use tooltips for all the icon-only controls #3384

afercia opened this issue Nov 8, 2017 · 8 comments · Fixed by #4318
Labels
[Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes).
Milestone

Comments

@afercia
Copy link
Contributor

afercia commented Nov 8, 2017

Most of the controls in the toolbars use tooltips:

screen shot 2017-11-08 at 11 48 55

Some of them (typically buttons that open drop down menus) don't:

screen shot 2017-11-08 at 11 49 05

screen shot 2017-11-08 at 11 49 16

For consistency, I'd suggest to always use tooltip on all the controls.

@karmatosed
Copy link
Member

If some have, all should have. I agree we should add them in for all.

@karmatosed karmatosed added the [Type] Enhancement A suggestion for improvement. label Nov 8, 2017
@karmatosed karmatosed added this to the Beta 1.8 milestone Nov 8, 2017
@afercia afercia changed the title COnsideer to use tooltips for all the toolbar controls Consider to use tooltips for all the toolbar controls Nov 8, 2017
@afercia
Copy link
Contributor Author

afercia commented Nov 8, 2017

I think the MediaUploadButton should be refactored to be an IconButton.

@hedgefield
Copy link

What is the best practice for these on mobile? Pressing a button there also shows the tooltip, and it stays open, which can be a bit annoying because you can't close it and it doesn't go away by itself.

@karmatosed
Copy link
Member

Are there any examples of apps showing these on mobile @hedgefield? I can't think of any and would love to know. My feeling is on mobile we shouldn't show, but I'd like some research.

@hedgefield
Copy link

hedgefield commented Nov 14, 2017

Yeah that's the thing, there aren't that many examples, which makes sense since tooltips generally rely on hover. The only ones that work in my opinion are the ones that dropbox/facebook/instagram etc use for onboarding.

screen-shot-2017-03-01-at-3 36 16-pm

They work for two reasons:

  • They're already visible when you enter the screen, so there's no unexpected discovery
  • They are dismissed when you tap

They also have two problems that makes them a challenge to use for us:

  • Once they're dismissed the first time, you never see them again
  • They work best in a guided onboarding experience, on a page that has few interactive elements

There might be a way to make it work for us, but I'd also be okay with not showing them on mobile, like you say. If that makes some elements unclear, we could consider adding a label to those, or indeed offering a proper first-run onboarding to quickly explain the basics. Dropbox Paper does that really well.

This is a nice article that describes the considerations. Good discussion here too.

TLDR: shall we just hide them on mobile for now?

@karmatosed
Copy link
Member

Thanks for the research @hedgefield. I would say based on that we do not show them on mobile. However, we need to test this to see we aren't leaving mobile users lost. Maybe we can even consider if we need them for desktop based on that.

@hedgefield
Copy link

hedgefield commented Nov 14, 2017

Sounds like a good approach. If we can solve any potential confusion that arises from it with better labels instead of tooltips I'd be all for that too.

@ellatrix ellatrix modified the milestones: Beta 1.8, 2.0.0 Dec 13, 2017
@afercia afercia changed the title Consider to use tooltips for all the toolbar controls Use tooltips for all the icon-only controls Jan 4, 2018
@afercia afercia added [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). and removed [Type] Enhancement A suggestion for improvement. labels Jan 4, 2018
@afercia
Copy link
Contributor Author

afercia commented Jan 4, 2018

Updated the title because this is something that should really be done for all the UI controls thas have no text and are rendered visually with just an icon. It's also something mentioned in the first accessibility recommendations, see #297 point 8:

The icons (such as for headings and arrows and the like) will need some sort of visual explanation. I would not use a title attribute, but instead look at a programmatic tooltip that can be enabled/disabled as a user setting.

Right now, there are still some "icon-only" UI controls that don't use tooltips, for example the "block switcher", the edit image "pencil", and possibly more ones.

I'm also removing the "enhancement" label because I'd rather consider this an UI inconsistency that should be addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes).
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants