summaryrefslogtreecommitdiff
path: root/js/juxtapose.js
diff options
context:
space:
mode:
authorsimon <vesspa0330@gmail.com>2026-11-16 22:19:56 -0500
committersimon <vesspa0330@gmail.com>2026-11-16 22:19:56 -0500
commit2171b125bae0089f7bebde38761b7723c9103a74 (patch)
treea89acfb0d49914b7fbbaadcd5286305dc3229a60 /js/juxtapose.js
parent9b0cad9408abce4338269b696b5dc695363d2142 (diff)
bunch of SEO, performance, and accessibility updates
Diffstat (limited to 'js/juxtapose.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", []);