Compute the accessible name of every element in your markup, see which mechanism produced it, and catch a visible label being overridden by a worse one.
Waiting for markup
Computes the accessible name of every element and shows which mechanism produced it.
Nothing to inspect yet
Paste markup, or load the example to see a name being overridden.
Accessible Name Inspector runs entirely on your device — the markup is parsed in your browser, never executed, and neither it nor anything derived from it is sent anywhere.
You’re on the Free plan. Compare plans
An element can take its name from six or seven different places, and they do not combine — exactly one wins and the rest are discarded in silence. That silence is where the bugs live.
The common defect is not a missing name. It is a good visible label quietly replaced by a worse one: `aria-label` beats the text of a button, so "Search tools" on screen becomes "Search" in the accessibility tree and nothing in the markup looks wrong. This shows the whole precedence chain for every element — the winner, and what each loser would have said.
It also checks WCAG 2.5.3, Label in Name, which exists because speech input users say what they see. If the visible label is not contained in the accessible name, saying it does not reach the control.
One detail that almost everything gets wrong, and that this is built around: `aria-hidden="true"` on a child removes that text from the **name** but not from what a sighted person **sees**. A button reading "Search tools ⌘K" with `aria-label="Search tools"` still fails 2.5.3, because the shortcut hint is on the screen whatever the attribute says. The two text walks here differ in exactly that respect.
It reads markup, so it cannot see CSS or anything a script changes. An element hidden with `display: none` is still listed and still named. That is a real limit and the page states it rather than letting a clean result read as a pass.
Because aria-hidden takes text out of the accessible name and leaves it on the screen. WCAG 2.5.3 compares the name against what is visible, and the hint is visible. Someone using voice control says what they can read, and that is not what the name contains.
Not always. An image with alt="" is deliberately nameless, which is the correct way to mark a decorative image, and this does not flag it. An interactive element with no name is a bug every time: a screen reader announces the role and nothing else.
Because the element already had usable content and the aria-label replaced it with something different. That is worth a second look rather than an automatic fix — an aria-label earns its place when it says more than the content does, not when it says less.
No. It reads static markup, so display: none and visibility: hidden are invisible to it, as is anything a script changes after load. What it computes is what the markup asks for, which is a strong signal rather than a browser's final answer.
No. It is parsed in your browser and never executed. Nothing you paste, and nothing derived from it, leaves the page.
If a tool here saved you some time, you can put something towards the hosting.Buy me a coffee, on Ko-fi, opens in a new tab