diff --git a/docker/ui.php b/docker/ui.php index 4f2d697..7310d2a 100755 --- a/docker/ui.php +++ b/docker/ui.php @@ -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=""; diff --git a/examples/example-multipleServers-full.html b/examples/example-multipleServers-full.html index ed59473..ddf23fc 100755 --- a/examples/example-multipleServers-full.html +++ b/examples/example-multipleServers-full.html @@ -147,6 +147,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=""; diff --git a/index.html b/index.html index 120ea56..660a7e2 100755 --- a/index.html +++ b/index.html @@ -155,6 +155,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="";