diff options
author | Sam Potts <sam@potts.es> | 2020-01-13 16:18:24 +0000 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2020-01-13 16:18:24 +0000 |
commit | 2463434d27ebad308bc64492d067e29c6d4e60c2 (patch) | |
tree | 023ea918a884071ad48f49dca80c821f577e4cd0 /src/js/ui.js | |
parent | c09b9ac01c35a78013e08e5a82027b6be7312c18 (diff) | |
parent | 15a1cdde896ee1a1a98355f3659f640cbaced459 (diff) | |
download | plyr-2463434d27ebad308bc64492d067e29c6d4e60c2.tar.lz plyr-2463434d27ebad308bc64492d067e29c6d4e60c2.tar.xz plyr-2463434d27ebad308bc64492d067e29c6d4e60c2.zip |
Merge branch 'develop' of github.com:sampotts/plyr into develop
Diffstat (limited to 'src/js/ui.js')
-rw-r--r-- | src/js/ui.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/js/ui.js b/src/js/ui.js index 953ecba2..9febab8b 100644 --- a/src/js/ui.js +++ b/src/js/ui.js @@ -214,6 +214,7 @@ const ui = { // Set state Array.from(this.elements.buttons.play || []).forEach(target => { Object.assign(target, { pressed: this.playing }); + target.setAttribute('aria-label', i18n.get(this.playing ? 'pause' : 'play', this.config)); }); // Only update controls on non timeupdate events |