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

Tooltip for All Icon-only Control Buttons #8734

Closed
BAByrne opened this issue Sep 6, 2019 · 0 comments
Closed

Tooltip for All Icon-only Control Buttons #8734

BAByrne opened this issue Sep 6, 2019 · 0 comments

Comments

@BAByrne
Copy link
Contributor

BAByrne commented Sep 6, 2019

Motivation

Zoom in/out and bearing buttons have descriptions that display on hover. Icon-only control buttons (e.g. Geolocation) can be ambiguous to casual users of interactive maps.

Design Alternatives

Add a custom tooltip or title attribute to all icon-only core control buttons.

Design

A title attribute: solves the problem; adds to accessibility; is supported by all modern browsers; requires minimal changes to the codebase

Mock-Up

N/A

Concepts

The geolocator's tooltip should be descriptive. Maybe something like, "Find my location".

Implementation

Should be implemented the same way the other button titles are implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants