Permalink
Browse files

Merge pull request #3245 from jwplayer/bugfix/screen-reader-announce-…

…elements

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

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

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

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

if (closeCallback) {

0 comments on commit 296d0b0

Please sign in to comment.