Self Referential aria-labelledby

From Level Access Web Labs
Jump to navigation Jump to search

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>