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:
Copilot 2025-12-07 23:13:38 +01:00 committed by GitHub
parent 17e4554e4d
commit a3ed06699f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 0 deletions

View file

@ -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="";