Fixed a11y graph main svg issue

This commit is contained in:
vaidankarswapnil 2022-01-31 17:12:17 +05:30
parent 4728dc48d7
commit f476c456e5
1 changed files with 0 additions and 3 deletions

View File

@ -730,9 +730,6 @@ export class D3ForceGraph implements GraphRenderer {
.append("g") .append("g")
.attr("class", "iconContainer") .attr("class", "iconContainer")
.attr("tabindex", 0) .attr("tabindex", 0)
.attr("aria-label", (d: D3Node) => {
return this.retrieveNodeCaption(d);
})
.on("dblclick", function (this: Element, _: MouseEvent, d: D3Node) { .on("dblclick", function (this: Element, _: MouseEvent, d: D3Node) {
// https://stackoverflow.com/a/41945742 ('this' implicitly has type 'any' because it does not have a type annotation) // https://stackoverflow.com/a/41945742 ('this' implicitly has type 'any' because it does not have a type annotation)
// this is the <g> element // this is the <g> element