aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/controls.js
diff options
context:
space:
mode:
authorRobert Kraig <robertkraig@gmail.com>2019-01-30 12:05:12 -0800
committerGitHub <noreply@github.com>2019-01-30 12:05:12 -0800
commitc730866efe49def69315c23a158fc90e56ad06cb (patch)
treee936dbc2cf1f0b87f42e14f7a12dbe674347266d /src/js/controls.js
parentad72ebd4bbf487e56884d264a4bb13119fb687b5 (diff)
downloadplyr-c730866efe49def69315c23a158fc90e56ad06cb.tar.lz
plyr-c730866efe49def69315c23a158fc90e56ad06cb.tar.xz
plyr-c730866efe49def69315c23a158fc90e56ad06cb.zip
Updating accessibility attribute to progressbar
aXe complains this is a non-compatible attribute to be set as `role="presentation"`
Diffstat (limited to 'src/js/controls.js')
-rw-r--r--src/js/controls.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/controls.js b/src/js/controls.js
index f414f6d6..98939f6d 100644
--- a/src/js/controls.js
+++ b/src/js/controls.js
@@ -334,7 +334,7 @@ const controls = {
min: 0,
max: 100,
value: 0,
- role: 'presentation',
+ role: 'progressbar',
'aria-hidden': true,
},
attributes,