mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
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.
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user