Skip to content

Commit

Permalink
fix(frontend): off-screen div accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
kris7t committed Nov 4, 2024
1 parent 87062fe commit b59227b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions subprojects/frontend/src/graph/dotSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ function setLabelWidth(
measureDiv.style.fontOpticalSizing = 'none';
measureDiv.style.letterSpacing = '0';
measureDiv.style.textRendering = 'geometricPreicision';
measureDiv.ariaHidden = 'true';
document.body.appendChild(measureDiv);
}
measureDiv.style.fontSize = `${size}pt`;
Expand Down

0 comments on commit b59227b

Please sign in to comment.