mirror of
https://github.com/Leaflet/Leaflet.git
synced 2025-07-25 01:32:21 +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 = ''
|
// @option title: String = ''
|
||||||
// Text for the browser tooltip that appear on marker hover (no tooltip by default).
|
// 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: '',
|
title: '',
|
||||||
|
|
||||||
// @option alt: String = 'Marker'
|
// @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',
|
alt: 'Marker',
|
||||||
|
|
||||||
// @option zIndexOffset: Number = 0
|
// @option zIndexOffset: Number = 0
|
||||||
|
Reference in New Issue
Block a user