Removed aria-labelled-by

This commit is contained in:
Sam Potts 2018-08-05 21:48:21 +10:00
parent b96fcfc8ac
commit aacb172017

2
src/js/controls.js vendored
View File

@ -1327,7 +1327,6 @@ const controls = {
control.appendChild( control.appendChild(
controls.createButton.call(this, 'settings', { controls.createButton.call(this, 'settings', {
id: `plyr-settings-toggle-${data.id}`,
'aria-haspopup': true, 'aria-haspopup': true,
'aria-controls': `plyr-settings-${data.id}`, 'aria-controls': `plyr-settings-${data.id}`,
'aria-expanded': false, 'aria-expanded': false,
@ -1338,7 +1337,6 @@ const controls = {
class: 'plyr__menu__container', class: 'plyr__menu__container',
id: `plyr-settings-${data.id}`, id: `plyr-settings-${data.id}`,
hidden: '', hidden: '',
'aria-labelled-by': `plyr-settings-toggle-${data.id}`,
}); });
const inner = createElement('div'); const inner = createElement('div');