Difference between revisions of "ARIA Relevant property"

From Level Access Web Labs
Jump to navigation Jump to search
Line 6: Line 6:
 
         var bl = document.getElementById('bl');
 
         var bl = document.getElementById('bl');
 
         if (bl.firstChild)
 
         if (bl.firstChild)
             bl.removeChild(bl.firstChild);
+
             var n = bl.removeChild(bl.firstChild);
 +
        if (n.nodeType == 3)
 +
          if (bl.firstChild)
 +
              bl.removeChild(bl.firstChild);
 
       }
 
       }
 
     </script>
 
     </script>

Revision as of 17:13, 9 April 2014

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

Buddy List:
Bill
Jack
Peaches