Link to marker accessibility guideline from docs (#8146)

This commit is contained in:
Robert Linder
2022-04-16 18:40:12 +02:00
committed by GitHub
parent a4db8928ef
commit 0daaa23116

View File

@ -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