off'; elseif ($p == 'none') $messageType = 'test message that has no ARIA markup whatsoever'; else $messageType = $p.' test message'; ?> ARIA Live Regions Test

ARIA Live Regions Test

\n"; echo 'Please excuse this '.$messageType.'.'."\n"; echo '

There is an alert at the top of this page that will automatically be displayed '; echo $s.' seconds after the page has loaded. '; echo <<aria-live role is set to "polite" or "assertive", as defined by the W3C WAI-ARIA Specification. Early versions of ARIA also included a value of "rude" which some screen readers may still support, although at this point it is no longer part of the specification. If you would like to experiment with various values related to aria-live, just use the following form to change the values, then press "Go" to reload the page. Additional explanation and test results are available at

END; ?>