You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,12 @@ Uses the [Leaflet.i18n][] internationalisation plugin.
8
8
9
9
This plugin does _NOT_ replace [accessibility][] efforts in [core Leaflet][bugs]. It is a means to provide interim fixes, and test potential fixes.
10
10
11
-
The plugin currently does 3 things:
11
+
The plugin currently does the following:
12
12
13
-
1. Sets a `role` and `aria-label` on the Leaflet map container element (see [L-7193][]).
14
-
2. Manages keyboard focus when popups are opened and closed (see [L-8115][]).
15
-
3. Translates map controls (Zoom in, Zoom out, Close popup, ...) into a language that has been set with `setLocale` ([Leaflet.i18n][]). Mostly relevant for accessibility, as most text is hidden from visual users.
13
+
1. Set a `role` and `aria-label` on the Leaflet map container element (see [L-7193][]).
14
+
2. Manage keyboard focus when popups are opened and closed (see [L-8115][]).
15
+
3. Fix so non-interactive markers are correctly identified ([L-8116][])
16
+
4. Translate map controls (Zoom in, Zoom out, Close popup, ...) into a language that has been set with `setLocale` ([Leaflet.i18n][]). Mostly relevant for accessibility, as most text is hidden from visual users.
16
17
17
18
More to follow!
18
19
@@ -28,7 +29,7 @@ Include or `import` core Leaflet and the plugins:
28
29
<scriptsrc="path/to/Leaflet.a11y.js"></script>
29
30
```
30
31
31
-
Then, call initialize the accessibility plugin with `L.a11y.onLoad` before calling `setView`:
32
+
Then, initialize the accessibility plugin with `L.a11y.onLoad` before calling `setView`:
32
33
33
34
```js
34
35
constMAP=L.map('map')
@@ -55,5 +56,7 @@ License: [MIT][].
55
56
"Make the leaflet-container a programmatically determinable element"
0 commit comments