diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-10-16 02:22:50 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-10-16 02:22:50 +0200 |
| commit | 335e61243d45c4c2eb5d030a8ee5f85c2ddf35f3 (patch) | |
| tree | 0df18bcb17eafad1b6bb7a879586993f2d3a0ce0 /StoneIsland/www/js/lib/nav | |
| parent | fb383f5bdca2dc3865daa7e749fe5a340151cf7d (diff) | |
a11y updates
Diffstat (limited to 'StoneIsland/www/js/lib/nav')
| -rwxr-xr-x | StoneIsland/www/js/lib/nav/FooterView.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/StoneIsland/www/js/lib/nav/FooterView.js b/StoneIsland/www/js/lib/nav/FooterView.js index 8641668f..855c37bd 100755 --- a/StoneIsland/www/js/lib/nav/FooterView.js +++ b/StoneIsland/www/js/lib/nav/FooterView.js @@ -17,12 +17,14 @@ var FooterView = View.extend({ if (cancel) { this.$ok.removeClass("wide") this.$cancel.show().html(cancel) + this.$cancel.attr('aria-label', cancel.toLowerCase()) } else { this.$ok.addClass("wide") this.$cancel.hide() } this.$ok.html(ok) + this.$ok.attr('aria-label', ok.toLowerCase()) this.$el.show() }, |
