aboutsummaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2022-11-12 12:18:59 +0000
committerBen Harris <bjh21@bjh21.me.uk>2022-11-12 12:18:59 +0000
commit4e3bb8f257f711c785498644a5c39d6c5d21dc87 (patch)
treee2b581ebaea4d2389340ace47690b507a77a8969 /html
parenta9c783ed4e165f92e37c6ef1a65822d9967679a3 (diff)
downloadpuzzles-4e3bb8f257f711c785498644a5c39d6c5d21dc87.zip
puzzles-4e3bb8f257f711c785498644a5c39d6c5d21dc87.tar.gz
puzzles-4e3bb8f257f711c785498644a5c39d6c5d21dc87.tar.bz2
puzzles-4e3bb8f257f711c785498644a5c39d6c5d21dc87.tar.xz
js: Use <li role="separator"> in place of <li class="separator">
ARIA has a "separator" role that has the semantics we want, so let's use it.
Diffstat (limited to 'html')
-rwxr-xr-xhtml/jspage.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/html/jspage.pl b/html/jspage.pl
index 4866308..86e7704 100755
--- a/html/jspage.pl
+++ b/html/jspage.pl
@@ -109,7 +109,7 @@ EOF
position: relative;
}
-#gamemenu li.separator {
+#gamemenu li[role=separator] {
width: 1.5em;
border: 0;
}
@@ -313,7 +313,7 @@ ${unfinishedpara}
<li><button type="button" id="load">Upload save file</button></li>
</ul></div></li>
<li><div>Type...<ul id="gametype"></ul></div></li>
- <li class="separator"></li>
+ <li role="separator"></li>
<li><button type="button" id="new">
New<span class="verbiage"> game</span>
</button></li>