mirror of https://github.com/istio/istio.io.git
Accessibility fix aria link (#10944)
This commit is contained in:
parent
ed40a80757
commit
d33e925440
|
@ -25,6 +25,7 @@ function handleLinks(): void {
|
|||
anchor.className = "self-link";
|
||||
anchor.href = "#" + node.id;
|
||||
anchor.setAttribute("aria-hidden", "true");
|
||||
anchor.setAttribute("tabindex", "-1");
|
||||
anchor.innerHTML = "<svg class='icon'><use xlink:href='" + iconFile + "#links'/></svg>";
|
||||
|
||||
node.appendChild(anchor);
|
||||
|
|
Loading…
Reference in New Issue