|
287 | 287 | style.innerHTML = `
|
288 | 288 | g[role="link"]:focus,
|
289 | 289 | 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, |
292 | 292 | g[role="link"] path:focus,
|
293 | 293 | 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, |
294 | 298 | g[role="button"] path:focus,
|
295 | 299 | 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 { |
301 | 301 | stroke: #0000EE;
|
302 | 302 | 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; |
303 | 312 | }`;
|
304 | 313 | }
|
305 | 314 |
|
|
5201 | 5210 | for (let p of layer._parts) {
|
5202 | 5211 | if (p.rings){
|
5203 | 5212 | 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"; |
5205 | 5214 | }
|
5206 | 5215 | if (p.subrings) {
|
5207 | 5216 | for (let r of p.subrings) {
|
|
0 commit comments