From 2171b125bae0089f7bebde38761b7723c9103a74 Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 16 Nov 2026 22:19:56 -0500 Subject: bunch of SEO, performance, and accessibility updates --- js/juxtapose.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'js/juxtapose.js') 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", []); -- cgit v1.3.1-4-g156e