Make the leaflet-container
a programmatically determinable element #7193
Open
Description
Motivation
It is easy to determine that a Leaflet map is an interactive map that is embedded on a web page when we see it. That is currently not the case for non-visual users who rely on their screen reader.
Proposed solution
Make the leaflet-container
a programmatically determinable element by setting it to:
aria-roledescription="Map"
role="group"
Edit: Updated per discussion below.
Additional context
aria-roledescription
:role="group"
:- MDN: Interactive elements must be labeled
Activity