Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Layer Picker HTML Improvement #1680

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

Layer Picker HTML Improvement #1680

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: pinkduck[at]dsl.pipex.com
[Submitted to the original trac issue database at 9.52pm, Sunday, 29th March 2009]

When clicking the + symbol on the OSM slippy map to show the pop-out layer picker the text describing the available options changes the cursor to an I-bar type when hovering the mouse over them. Clicking the text does select the option, but this could be done better.

The thing to do is to assign the text labels to the input controls using the HTML wrapper tag. This has the combined benefit of keeping the cursor default to show that the text can be clicked on. Clicking the text will also natively raise the onclick event of the input control.

Using the tag like this benefits normal users by providing a larger hit area to click and allows screen-readers for the visually impaired to work with explicit information.

@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 12.22pm, Monday, 30th March 2009]

You would need to take this up with the OpenLayers developers as that widget is a standard part of the OpenLayers library and not something we have created or have any control over.

@openstreetmap-trac
Copy link
Author

Author: pinkduck[at]dsl.pipex.com
[Added to the original trac issue at 6.27pm, Monday, 30th March 2009]

Tracker issue created at http://trac.openlayers.org/ticket/2020

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

No branches or pull requests

1 participant