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
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
-2
View File
@@ -3086,8 +3086,6 @@
target = document.querySelector('#' + toggle.getAttribute('aria-controls')), target = document.querySelector('#' + toggle.getAttribute('aria-controls')),
show = (toggle.getAttribute('aria-expanded') === 'false'); show = (toggle.getAttribute('aria-expanded') === 'false');
console.log(target, toggle);
toggle.setAttribute('aria-expanded', show); toggle.setAttribute('aria-expanded', show);
target.setAttribute('aria-hidden', !show); target.setAttribute('aria-hidden', !show);
}); });
+4 -2
View File
@@ -370,7 +370,8 @@
button { button {
// Hover and tab focus // Hover and tab focus
&.tab-focus:focus, &.tab-focus:focus,
&:hover { &:hover,
&[aria-expanded='true'] {
background: @plyr-video-control-bg-hover; background: @plyr-video-control-bg-hover;
color: @plyr-video-control-color-hover; color: @plyr-video-control-color-hover;
} }
@@ -388,7 +389,8 @@
button { button {
// Hover and tab focus // Hover and tab focus
&.tab-focus:focus, &.tab-focus:focus,
&:hover { &:hover,
&[aria-expanded='true'] {
background: @plyr-audio-control-bg-hover; background: @plyr-audio-control-bg-hover;
color: @plyr-audio-control-color-hover; color: @plyr-audio-control-color-hover;
} }