Difference between revisions of "ARIA Region role"

From Level Access Web Labs
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<html>
 
<html>
   <p role="region">
+
   <div role="region" aria-labelledby="span1" aria-label="this is my region">
     This is a region of the page.
+
     <p id="span1"> This is a region of the page. </p>
 +
    <input type="text" title="search" onclick="alert('hello');"/> <button> Go </button>
 
     <a href="http://www.ssbbartgroup.com"> SSB </a>
 
     <a href="http://www.ssbbartgroup.com"> SSB </a>
   </p>
+
   </div>
 +
  <div role="region" aria-label="this is another region">
 +
    This text is in a second region.
 +
  </div>
 +
  <div role="region">
 +
    This is a region role with no accessible name.
 +
  </div>
 
</html>
 
</html>
 +
 +
[[Category:ARIA]]

Latest revision as of 18:40, 23 February 2016

This is a region of the page.

SSB
This text is in a second region.
This is a region role with no accessible name.