mirror of
https://github.com/librespeed/speedtest.git
synced 2026-10-10 07:16:57 +00:00
Fix accessibility: replace div#startStopBtn with <button> in classic design (#782)
* Initial plan * Replace div#startStopBtn with button element for keyboard accessibility Agent-Logs-Url: https://github.com/librespeed/speedtest/sessions/f3d60a26-754c-48da-9672-542810806f72 Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
This commit is contained in:
parent
dce0bdddb3
commit
da29334083
8 changed files with 24 additions and 8 deletions
|
|
@ -230,6 +230,8 @@ function initUI(){
|
|||
color:#6060AA;
|
||||
background-color:rgba(0,0,0,0);
|
||||
border:0.15em solid #6060FF;
|
||||
padding:0;
|
||||
font:inherit;
|
||||
border-radius:0.3em;
|
||||
transition:all 0.3s;
|
||||
box-sizing:border-box;
|
||||
|
|
@ -402,7 +404,7 @@ function initUI(){
|
|||
<p id="message"><span class="loadCircle"></span>Selecting a server...</p>
|
||||
</div>
|
||||
<div id="testWrapper" class="hidden">
|
||||
<div id="startStopBtn" onclick="startStop()"></div><br/>
|
||||
<button id="startStopBtn" onclick="startStop()"></button><br/>
|
||||
<a class="privacy" href="#" onclick="I('privacyPolicy').style.display=''">Privacy</a>
|
||||
<div id="serverArea">
|
||||
Server: <select id="server" onchange="s.setSelectedServer(SPEEDTEST_SERVERS[this.value])"></select>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue