Difference between revisions of "Self Referential aria-labelledby"

From Level Access Web Labs
Jump to navigation Jump to search
Line 39: Line 39:
  
 
<html>
 
<html>
<button id="test5" aria-labelledby="this test5">a Test 5</button>
+
<button id="test5" aria-labelledby="test5 this">a Test 5</button>
 
</html>
 
</html>

Revision as of 19:22, 2 February 2017

Text required for aria-labelledby references

This
Is

Code: id="this" and id="is"

Sample Buttons

Expected computed name is "a Test" Code: <button id="test1">a Test</button>

Expected computed name is "a Test" Code: <button id="test2" aria-labelledby="test2">a Test</button>

Expected computed name is "Is a Test" Code: <button id="test3" aria-labelledby="is test3">a Test</button>

Expected computed name is "This Is a Test" Code: <button id="test4" aria-labelledby="This Is test4">a Test</button>

Expected computed name is "a Test This Is" Code: <button id="YodaButton" aria-labelledby="YodaButton This Is">a Test</button>