Skip to content

Commit

Permalink
Merge pull request #3245 from jwplayer/bugfix/screen-reader-announce-…
Browse files Browse the repository at this point in the history
…elements

Remove unnecessary aria-expanded
  • Loading branch information
robwalch committed Jan 11, 2019
2 parents 5dae4ed + 4ddab3d commit 296d0b0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/js/view/controls/components/simple-tooltip.js
Expand Up @@ -18,7 +18,6 @@ export function SimpleTooltip(attachToElement, name, text, openCallback, closeCa
return;
}

tooltipElement.setAttribute('aria-expanded', 'true');
addClass(tooltipElement, 'jw-open');

if (openCallback) {
Expand All @@ -30,7 +29,6 @@ export function SimpleTooltip(attachToElement, name, text, openCallback, closeCa
return;
}

tooltipElement.setAttribute('aria-expanded', 'false');
removeClass(tooltipElement, 'jw-open');

if (closeCallback) {
Expand Down

0 comments on commit 296d0b0

Please sign in to comment.