37. What does aria-label do?
aria-label provides an accessible name for an element when a suitable visible text label or other naming mechanism is not available. It should be used carefully because it can override other accessible naming mechanisms.
Key Takeaways
Use visible labels when possible.
Do not add aria-label indiscriminately to every element.
Knowledge Check
What does aria-label primarily provide?