summaryrefslogtreecommitdiff
path: root/script.js
diff options
context:
space:
mode:
authorMelissa Zhang <melissazhang@Melissas-Air.lan>2022-09-26 14:42:10 -0400
committerMelissa Zhang <melissazhang@Melissas-Air.lan>2022-09-26 14:42:10 -0400
commite9345701bc0d214c74d8ccf8c7b66cfe8b94e5d4 (patch)
treefcbec07b9fcda693ff3e177ee331e449e9fd44db /script.js
parente7019025a6a1c76a9a6df7cb04fd57b682f69915 (diff)
improve accessibility
Diffstat (limited to 'script.js')
-rwxr-xr-xscript.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/script.js b/script.js
index 5706edc..8069c0e 100755
--- a/script.js
+++ b/script.js
@@ -2,7 +2,7 @@ const THRESHOLD_FIDELITY = 150;
// accessibility tab index
const sectionsAndHeaders = document.querySelectorAll('section, header');
-sectionsAndHeaders.forEach(ele => ele.tabIndex = "1");
+sectionsAndHeaders.forEach(ele => ele.tabIndex = "0");
// mutation observer for the video element
const videoTitle = document.querySelector('#video-title');