Difference between revisions of "ARIA Live"

From Level Access Web Labs
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
This approach uses a change to inner HTML.  Activate the update result button to display a new value in the ARIA live region.
 +
 
<html>
 
<html>
 
<head>
 
<head>
Line 11: Line 13:
 
}
 
}
 
function auto() {
 
function auto() {
   setTimeout(function(){update()},2000);
+
   setTimeout(function(){update()});
 +
  setTimeout(function(){auto()},2000);
 
}
 
}
 
</script>
 
</script>

Latest revision as of 01:53, 10 November 2018

This approach uses a change to inner HTML. Activate the update result button to display a new value in the ARIA live region.

... ...

...