mirror of
https://github.com/Leaflet/Leaflet.markercluster.git
synced 2025-08-16 15:04:51 +00:00
Merge pull request #1044 from tmiaa/patch-1
Adding "markers" for clusters in aria-label for accessibility
This commit is contained in:
@ -830,7 +830,7 @@ export var MarkerClusterGroup = L.MarkerClusterGroup = L.FeatureGroup.extend({
|
||||
c += 'large';
|
||||
}
|
||||
|
||||
return new L.DivIcon({ html: '<div><span>' + childCount + '</span></div>', className: 'marker-cluster' + c, iconSize: new L.Point(40, 40) });
|
||||
return new L.DivIcon({ html: '<div><span>' + childCount + ' <span aria-label="markers"></span>' + '</span></div>', className: 'marker-cluster' + c, iconSize: new L.Point(40, 40) });
|
||||
},
|
||||
|
||||
_bindEvents: function () {
|
||||
|
Reference in New Issue
Block a user