Difference between revisions of "ARIA Relevant property"

From Level Access Web Labs
Jump to navigation Jump to search
(Additions)
Line 29: Line 29:
 
     <script type="text/javascript">
 
     <script type="text/javascript">
 
       var i = 1;
 
       var i = 1;
       function removals() {
+
       function additions() {
 
         var bl_a = document.getElementById('bl_a');
 
         var bl_a = document.getElementById('bl_a');
 
         var d = document.createElement('div');
 
         var d = document.createElement('div');
Line 44: Line 44:
 
     <div id="e3">Peaches</div>
 
     <div id="e3">Peaches</div>
 
   </div>
 
   </div>
   <button onclick="removals();"> Test Additions </button>
+
   <button onclick="additions();"> Test Additions </button>
 
</html>
 
</html>

Revision as of 17:23, 9 April 2014

  • aria-relevant uses a list of space separated possible values: removals, additions, text, or a single "all".

Removals

Buddy List:
Bill
Jack
Peaches

Additions

Buddy List:
Bill
Jack
Peaches