Difference between revisions of "ARIA Region role"

From Level Access Web Labs
Jump to navigation Jump to search
Line 1: Line 1:
 
<html>
 
<html>
   <p role="region" aria-labelledby="span1">
+
   <div role="region" aria-labelledby="span1" aria-label="this is my region">
     <span id="span1"> This is a region of the page. </span>
+
     <p id="span1"> This is a region of the page. </p>
     <input type="text" title="search" /> <button> Go </button>
+
     <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>
 
</html>
 
</html>
 +
 +
[[Category:ARIA]]

Revision as of 02:37, 25 February 2015

This is a region of the page.

SSB