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/products/ProductView.js | |
| parent | fb383f5bdca2dc3865daa7e749fe5a340151cf7d (diff) | |
a11y updates
Diffstat (limited to 'StoneIsland/www/js/lib/products/ProductView.js')
| -rwxr-xr-x | StoneIsland/www/js/lib/products/ProductView.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/StoneIsland/www/js/lib/products/ProductView.js b/StoneIsland/www/js/lib/products/ProductView.js index 4320043c..f834b1c5 100755 --- a/StoneIsland/www/js/lib/products/ProductView.js +++ b/StoneIsland/www/js/lib/products/ProductView.js @@ -370,12 +370,14 @@ var ProductView = ScrollableView.extend({ set_size_label: function(size_label){ this.$size.show() this.$sizeLabel.html(size_label) + this.$size.attr('aria-label', 'Tap to select size. Current size: ' + size_label) }, set_color_label: function(color_label){ if (color_label) { this.$color.show() this.$colorLabel.html(color_label) + this.$color.attr('aria-label', 'Tap to select color. Current color: ' + color_label) } else { this.$color.hide() |
