Difference between revisions of "ARIA Relevant property"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
* aria-relevant uses a list of space separated possible values: removals, additions, text, or a single "all". | * aria-relevant uses a list of space separated possible values: removals, additions, text, or a single "all". | ||
<html> | <html> | ||
+ | <head> | ||
+ | <script type="text/javascript"> | ||
+ | function removals() { | ||
+ | var bl = document.getElementById('bl'); | ||
+ | if (bl.firstChild) | ||
+ | bl.removeChild(bl.firstChild); | ||
+ | } | ||
+ | </script> | ||
+ | </head> | ||
<div><b>Buddy List:</b></div> | <div><b>Buddy List:</b></div> | ||
− | <div style="padding: .5em; width:5em; border:thin solid;"> | + | <div id="bl" style="padding: .5em; width:5em; border:thin solid;"> |
− | <div>Bill</div> | + | <div id="d1">Bill</div> |
− | <div>Jack</div> | + | <div id="d2">Jack</div> |
− | <div>Peaches</div> | + | <div id="d3">Peaches</div> |
</div> | </div> | ||
<button onclick="removals();"> Test Removals </button> | <button onclick="removals();"> Test Removals </button> | ||
</html> | </html> | ||
[[Category:ARIA]] | [[Category:ARIA]] |
Revision as of 17:00, 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