Can we count your visit?

Our analytics service records the pages you view, so we can see which ones are useful. It saves a random ID in your browser, and we never use it for advertising. Read our privacy policy.

aria-label

An ARIA attribute that gives an element an accessible name in code, without any visible text.

aria-label is a WAI-ARIA attribute that sets an element's accessible name directly, as text in the code. A screen reader announces that text instead of anything else the element contains. It is common on icon-only buttons, such as a magnifying glass for search: aria-label="Search".

Because the name is invisible, it can drift from what the screen shows. That breaks voice control and confuses people who see the screen while a screen reader speaks. Visible text is usually the better label. When aria-label is used on a control with visible text, it needs to include that text word for word.

Source

World Wide Web Consortium (W3C), 2023. Checked .

Get help with every step.

We can work with organizations of every size and industry, from a startup serving its first customers to a bank. We find where you stand, help your team fix what matters, and keep checking as your product changes. That work is evidence of your effort, not a legal guarantee.