Skip to content

Commit cf534fa

Browse files
committed
[AUTO] Sync MapML Build
1 parent f2d6d9d commit cf534fa

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

dist/mapml.js

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -287,19 +287,28 @@
287287
style.innerHTML = `
288288
g[role="link"]:focus,
289289
g[role="link"]:hover,
290-
g[role="button"]:focus,
291-
g[role="button"]:hover,
290+
g[role="link"]:focus path,
291+
g[role="link"]:hover path,
292292
g[role="link"] path:focus,
293293
g[role="link"] path:hover,
294+
g[role="button"]:focus,
295+
g[role="button"]:hover,
296+
g[role="button"]:focus path,
297+
g[role="button"]:hover path,
294298
g[role="button"] path:focus,
295299
g[role="button"] path:hover,
296-
g[role="link"]:focus path,
297-
g[role="link"]:hover path,
298-
g[role="button"]:focus path,
299-
g[role="button"]:hover path {
300-
outline: 0!important;
300+
path[tabindex="0"]:focus {
301301
stroke: #0000EE;
302302
stroke: LinkText;
303+
}
304+
g[role="link"]:focus:not(:focus-visible),
305+
g[role="link"]:focus:not(:focus-visible) path,
306+
g[role="link"] path:focus:not(:focus-visible),
307+
g[role="button"]:focus:not(:focus-visible),
308+
g[role="button"]:focus:not(:focus-visible) path,
309+
g[role="button"] path:focus:not(:focus-visible),
310+
path[tabindex="0"]:focus:not(:focus-visible) {
311+
outline: 0!important;
303312
}`;
304313
}
305314

@@ -5201,7 +5210,7 @@
52015210
for (let p of layer._parts) {
52025211
if (p.rings){
52035212
this._createPath(p, layer.options.className, layer.featureAttributes['aria-label'], layer.options.interactive, layer.featureAttributes);
5204-
if(layer.outlinePath) p.path.style.stroke = "none";
5213+
//if(layer.outlinePath) p.path.style.stroke = "none";
52055214
}
52065215
if (p.subrings) {
52075216
for (let r of p.subrings) {

0 commit comments

Comments
 (0)