Skip to content

Commit

Permalink
Reduce changes only to FontManager.js
Browse files Browse the repository at this point in the history
  • Loading branch information
coreygreenwald committed Mar 30, 2021
1 parent 339cef1 commit 87ce1ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions player/js/utils/FontManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ var FontManager = (function () {

function setUpNode(font, family) {
var parentNode = createTag('span');
// Node is invisible to screen readers.
parentNode.setAttribute('aria-hidden', true);
parentNode.style.fontFamily = family;
var node = createTag('span');
// Characters that vary significantly among different fonts
Expand Down

0 comments on commit 87ce1ca

Please sign in to comment.