From e9345701bc0d214c74d8ccf8c7b66cfe8b94e5d4 Mon Sep 17 00:00:00 2001 From: Melissa Zhang Date: Mon, 26 Sep 2022 14:42:10 -0400 Subject: improve accessibility --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script.js') 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'); -- cgit v1.2.3-70-g09d2