From: Ardis Lu Date: Wed, 14 Feb 2024 05:29:49 +0000 (-0800) Subject: Explicitly set scope X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=bca3311e43956828402c58b0309b61583c458ccb;p=sheets-db Explicitly set scope It's implied from but better to be explicit for accessibility --- diff --git a/demo/index.html b/demo/index.html index be2a647..8383a5f 100644 --- a/demo/index.html +++ b/demo/index.html @@ -245,6 +245,7 @@ LIMIT 25 const headerTr = document.createElement('tr'); for (let header of columns) { const th = document.createElement('th'); + th.setAttribute('scope', 'col'); th.textContent = header; headerTr.insertAdjacentElement('beforeend', th); }