diff options
| author | simon <vesspa0330@gmail.com> | 2026-11-16 22:19:56 -0500 |
|---|---|---|
| committer | simon <vesspa0330@gmail.com> | 2026-11-16 22:19:56 -0500 |
| commit | 2171b125bae0089f7bebde38761b7723c9103a74 (patch) | |
| tree | a89acfb0d49914b7fbbaadcd5286305dc3229a60 /js | |
| parent | 9b0cad9408abce4338269b696b5dc695363d2142 (diff) | |
bunch of SEO, performance, and accessibility updates
Diffstat (limited to 'js')
| -rw-r--r-- | js/juxtapose.js | 3 |
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", []); |
