mirror of
https://github.com/librespeed/speedtest.git
synced 2026-07-11 11:04:02 +00:00
Add alt attribute to speed test results image for accessibility (#731)
* Initial plan * Add ALT attribute to SpeedTest result image for accessibility Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com> * Add alt attribute to docker/ui.php for accessibility 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
17e4554e4d
commit
a3ed06699f
3 changed files with 3 additions and 0 deletions
|
|
@ -163,6 +163,7 @@ function startStop(){
|
|||
if(testId!=null){
|
||||
var shareURL=window.location.href.substring(0,window.location.href.lastIndexOf("/"))+"/results/?id="+testId;
|
||||
I("resultsImg").src=shareURL;
|
||||
I("resultsImg").alt="Download: "+uiData.dlStatus+" Mbps, Upload: "+uiData.ulStatus+" Mbps, Ping: "+uiData.pingStatus+" ms, Jitter: "+uiData.jitterStatus+" ms";
|
||||
I("resultsURL").value=shareURL;
|
||||
I("testId").innerHTML=testId;
|
||||
I("shareArea").style.display="";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue