We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 062f4de commit 5383ee0Copy full SHA for 5383ee0
1 file changed
dist/mapml.js
@@ -342,8 +342,8 @@
342
path._path.removeAttribute("tabindex");
343
}
344
if(path._path.childElementCount === 0) {
345
- let title = document.createElement("title");
346
- title.innerText = path.accessibleTitle;
+ let title = L.SVG.create("title");
+ title.innerHTML = path.accessibleTitle;
347
path._path.appendChild(title);
348
349
path._path.setAttribute("aria-expanded", "false");
0 commit comments