summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/juxtapose.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/juxtapose.js b/js/juxtapose.js
index 47ab92b..2e93c8e 100644
--- a/js/juxtapose.js
+++ b/js/juxtapose.js
@@ -524,6 +524,7 @@
this.controller.className = 'jx-controller';
this.controller.setAttribute('tabindex', 0); //put the controller in the natural tab order of the document
+ this.controller.setAttribute('aria-label', 'Interactive before/after slider reveals/conceals the state of the car after detailing has been performed');
this.controller.setAttribute('role', 'slider');
this.controller.setAttribute('aria-valuenow', 50);
this.controller.setAttribute('aria-valuemin', 0);
@@ -761,4 +762,4 @@
WindowPrototype[dispatchEvent] = DocumentPrototype[dispatchEvent] = ElementPrototype[dispatchEvent] = function(eventObject) {
return this.fireEvent("on" + eventObject.type, eventObject);
};
-})(Window.prototype, HTMLDocument.prototype, Element.prototype, "addEventListener", "removeEventListener", "dispatchEvent", []); \ No newline at end of file
+})(Window.prototype, HTMLDocument.prototype, Element.prototype, "addEventListener", "removeEventListener", "dispatchEvent", []);