mirror of
https://github.com/Leaflet/Leaflet.git
synced 2025-07-21 23:26:12 +00:00
Link to marker accessibility guideline from docs (#8146)
This commit is contained in:
@ -40,10 +40,12 @@ export var Marker = Layer.extend({
|
||||
|
||||
// @option title: String = ''
|
||||
// Text for the browser tooltip that appear on marker hover (no tooltip by default).
|
||||
// [Useful for accessibility](https://leafletjs.com/examples/accessibility/#markers-must-be-labelled).
|
||||
title: '',
|
||||
|
||||
// @option alt: String = 'Marker'
|
||||
// Text for the `alt` attribute of the icon image (useful for accessibility).
|
||||
// Text for the `alt` attribute of the icon image.
|
||||
// [Useful for accessibility](https://leafletjs.com/examples/accessibility/#markers-must-be-labelled).
|
||||
alt: 'Marker',
|
||||
|
||||
// @option zIndexOffset: Number = 0
|
||||
|
Reference in New Issue
Block a user