In the world of ARIA there are three ways to label an element.
– aria-label: This generates a text alternative for an element and it will be read instead of reading the element’s contents
– aria-labelledby: This let’s us point at another element to say “”that element is my label””!
– name by content: For small elements it’s possible to just generate the label by its content
In this episode of Polycasts I’ll demonstrate all three approaches so you can better understand when to use each in your specific app or element.
W3C ARIA Authoring Practices 1.1
Subscribe to the Chrome Developers channel at http://goo.gl/LLLNvf