This commit is contained in:
Sam Potts 2016-09-13 23:52:25 +10:00
parent 46f82a4af3
commit c8b9c9bcaa
4 changed files with 6 additions and 6 deletions

2
dist/plyr.css vendored

File diff suppressed because one or more lines are too long

2
dist/plyr.js vendored

File diff suppressed because one or more lines are too long

View File

@ -3086,8 +3086,6 @@
target = document.querySelector('#' + toggle.getAttribute('aria-controls')),
show = (toggle.getAttribute('aria-expanded') === 'false');
console.log(target, toggle);
toggle.setAttribute('aria-expanded', show);
target.setAttribute('aria-hidden', !show);
});

View File

@ -370,7 +370,8 @@
button {
// Hover and tab focus
&.tab-focus:focus,
&:hover {
&:hover,
&[aria-expanded='true'] {
background: @plyr-video-control-bg-hover;
color: @plyr-video-control-color-hover;
}
@ -388,7 +389,8 @@
button {
// Hover and tab focus
&.tab-focus:focus,
&:hover {
&:hover,
&[aria-expanded='true'] {
background: @plyr-audio-control-bg-hover;
color: @plyr-audio-control-color-hover;
}