aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/controls.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2018-04-23 00:01:19 +1000
committerSam Potts <sam@potts.es>2018-04-23 00:01:19 +1000
commitb647af256c5eb2fe3742520521d13459fc1ed53e (patch)
tree65b2a28a1c7b064204e9e66201fcd50c5e94034e /src/js/controls.js
parentd2e9ed346700d885d723412b5e44889f23f8509f (diff)
downloadplyr-b647af256c5eb2fe3742520521d13459fc1ed53e.tar.lz
plyr-b647af256c5eb2fe3742520521d13459fc1ed53e.tar.xz
plyr-b647af256c5eb2fe3742520521d13459fc1ed53e.zip
More a11y stuff and context menu fix
Diffstat (limited to 'src/js/controls.js')
-rw-r--r--src/js/controls.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/js/controls.js b/src/js/controls.js
index ce4c17ee..615da39e 100644
--- a/src/js/controls.js
+++ b/src/js/controls.js
@@ -57,6 +57,7 @@ const controls = {
icon,
utils.extend(attributes, {
role: 'presentation',
+ focusable: 'false',
}),
);
@@ -293,6 +294,8 @@ const controls = {
min: 0,
max: 100,
value: 0,
+ role: 'presentation',
+ 'aria-hidden': true,
},
attributes,
),