Server:
diff --git a/examples/example-multipleServers-pretty.html b/examples/example-multipleServers-pretty.html
index f6abc6d..f9f0aba 100755
--- a/examples/example-multipleServers-pretty.html
+++ b/examples/example-multipleServers-pretty.html
@@ -42,6 +42,7 @@ s.onupdate=function(data){ //callback to update data in UI
}
s.onend=function(aborted){ //callback for test ended/aborted
I("startStopBtn").className=""; //show start button again
+ I("startStopBtn").setAttribute("aria-label","Start");
if(aborted){ //if the test was aborted, clear the UI and prepare for new test
initUI();
}
@@ -83,6 +84,7 @@ function startStop(){ //start/stop button pressed
//test is not running, begin
s.start();
I("startStopBtn").className="running";
+ I("startStopBtn").setAttribute("aria-label","Abort");
}
}
@@ -207,7 +209,7 @@ function I(id){return document.getElementById(id);}
LibreSpeed Example
-
+
Selecting server...
diff --git a/examples/example-singleServer-customSettings.html b/examples/example-singleServer-customSettings.html
index cd465d2..e7000e4 100755
--- a/examples/example-singleServer-customSettings.html
+++ b/examples/example-singleServer-customSettings.html
@@ -22,6 +22,7 @@ s.onupdate=function(data){ //callback to update data in UI
}
s.onend=function(aborted){ //callback for test ended/aborted
I("startStopBtn").className=""; //show start button again
+ I("startStopBtn").setAttribute("aria-label","Start");
if(aborted){ //if the test was aborted, clear the UI and prepare for new test
initUI();
}
@@ -35,6 +36,7 @@ function startStop(){ //start/stop button pressed
//test is not running, begin
s.start();
I("startStopBtn").className="running";
+ I("startStopBtn").setAttribute("aria-label","Abort");
}
}
@@ -153,7 +155,7 @@ function I(id){return document.getElementById(id);}
LibreSpeed Example
-
+
diff --git a/examples/example-singleServer-gauges.html b/examples/example-singleServer-gauges.html
index 980adf4..2678614 100755
--- a/examples/example-singleServer-gauges.html
+++ b/examples/example-singleServer-gauges.html
@@ -60,15 +60,18 @@ function startStop(){
s.abort();
data=null;
I("startStopBtn").className="";
+ I("startStopBtn").setAttribute("aria-label","Start");
initUI();
}else{
//test is not running, begin
I("startStopBtn").className="running";
+ I("startStopBtn").setAttribute("aria-label","Abort");
s.onupdate=function(data){
uiData=data;
};
s.onend=function(aborted){
I("startStopBtn").className="";
+ I("startStopBtn").setAttribute("aria-label","Start");
updateUI(true);
};
s.start();
@@ -225,7 +228,7 @@ function initUI(){
LibreSpeed Example
-
+
diff --git a/examples/example-singleServer-modern.html b/examples/example-singleServer-modern.html
index d3f8555..7237739 100644
--- a/examples/example-singleServer-modern.html
+++ b/examples/example-singleServer-modern.html
@@ -23,6 +23,7 @@ s.onupdate=function(data){ //callback to update data in UI
}
s.onend=function(aborted){ //callback for test ended/aborted
I("startStopBtn").className=""; //show start button again
+ I("startStopBtn").setAttribute("aria-label","Start");
if(aborted){ //if the test was aborted, clear the UI and prepare for new test
initUI();
} else {
@@ -44,6 +45,7 @@ function startStop(){ //start/stop button pressed
//test is not running, begin
s.start();
I("startStopBtn").className="running";
+ I("startStopBtn").setAttribute("aria-label","Abort");
}
}
@@ -190,7 +192,7 @@ window.onload = function() {
LibreSpeed
-
+
diff --git a/examples/example-singleServer-pretty.html b/examples/example-singleServer-pretty.html
index a347683..2dd7869 100755
--- a/examples/example-singleServer-pretty.html
+++ b/examples/example-singleServer-pretty.html
@@ -19,6 +19,7 @@ s.onupdate=function(data){ //callback to update data in UI
}
s.onend=function(aborted){ //callback for test ended/aborted
I("startStopBtn").className=""; //show start button again
+ I("startStopBtn").setAttribute("aria-label","Start");
if(aborted){ //if the test was aborted, clear the UI and prepare for new test
initUI();
}
@@ -32,6 +33,7 @@ function startStop(){ //start/stop button pressed
//test is not running, begin
s.start();
I("startStopBtn").className="running";
+ I("startStopBtn").setAttribute("aria-label","Abort");
}
}
@@ -156,7 +158,7 @@ function I(id){return document.getElementById(id);}
LibreSpeed Example
-
+
diff --git a/examples/example-singleServer-progressBar.html b/examples/example-singleServer-progressBar.html
index 0e39cfd..b207c20 100755
--- a/examples/example-singleServer-progressBar.html
+++ b/examples/example-singleServer-progressBar.html
@@ -21,6 +21,7 @@ s.onupdate=function(data){ //callback to update data in UI
}
s.onend=function(aborted){ //callback for test ended/aborted
I("startStopBtn").className=""; //show start button again
+ I("startStopBtn").setAttribute("aria-label","Start");
if(aborted){ //if the test was aborted, clear the UI and prepare for new test
initUI();
}
@@ -34,6 +35,7 @@ function startStop(){ //start/stop button pressed
//test is not running, begin
s.start();
I("startStopBtn").className="running";
+ I("startStopBtn").setAttribute("aria-label","Abort");
}
}
@@ -175,7 +177,7 @@ function I(id){return document.getElementById(id);}