An accessible name is the definitive text string that the browser assigns to an interactive element through a standardized computation algorithm, which assistive technologies and AI parsers rely upon to identify the element's purpose. This name is derived from content sources such as an element's text content, aria-label, aria-labelledby, or associated <label> elements, following a strict precedence order defined by the WAI-ARIA specification.
Glossary
Accessible Name

What is Accessible Name?
The accessible name is the programmatically determined, human-readable label for a UI element calculated by the browser's name computation algorithm, serving as the primary identifier used by assistive technologies and AI agents.
When an AI agent or screen reader encounters a button, link, or form field, it queries the accessibility tree—a parallel structure to the DOM—and retrieves the accessible name as the primary descriptor. Without a properly computed accessible name, an element becomes an anonymous, unidentifiable node, rendering it invisible to both assistive technology users and automated AI content extraction systems.
Key Characteristics of an Accessible Name
An accessible name is not merely a visible label; it is a programmatically determined string calculated by the browser's name computation algorithm. The following characteristics define its behavior and reliability for assistive technologies and AI agents.
Programmatic Determinism
The accessible name is derived algorithmically, not by visual heuristics. The browser computes it by walking a strict precedence order: aria-labelledby → aria-label → native HTML labeling (e.g., <label> wrapping) → title attribute → placeholder text. This ensures AI parsers and screen readers receive a consistent, machine-readable identifier regardless of CSS styling or visual layout.
Computation Precedence
The Accessible Name and Description Computation algorithm defines a strict hierarchy. If multiple sources exist, the highest-priority source wins, and lower-priority sources are ignored entirely.
- 1st:
aria-labelledby(references other element IDs) - 2nd:
aria-label(direct string attribute) - 3rd: Native host language labeling (e.g.,
<label for='id'>) - 4th:
titleattribute (fallback only) - 5th: Placeholder text (weakest, not recommended as sole name)
Concise and Functional
An accessible name should convey the purpose of the control, not its current state or descriptive metadata. For interactive elements, it typically answers 'What will happen if I activate this?'
- Good: 'Submit application'
- Bad: 'Blue rounded button with shadow'
- Good: 'Close dialog'
- Bad: 'X icon' (unless purely decorative and hidden from accessibility tree)
Flat String Output
The computation algorithm flattens all referenced content into a single, plain text string. Nested semantics are stripped: if aria-labelledby points to a <div> containing a <strong> element, the bold formatting is lost. The algorithm concatenates text nodes in depth-first DOM order, ignoring CSS display: none and visibility: hidden content, but including off-screen text positioned via CSS tricks.
Language and Internationalization
The accessible name inherits the language of the element or its nearest ancestor with a lang attribute. This is critical for screen reader pronunciation. An English button labeled 'Paris' inside a French lang='fr' container will be pronounced with French phonetics. AI agents use this language signal to correctly disambiguate named entities in multilingual documents.
Role-Specific Requirements
Certain ARIA roles require an accessible name for the element to be valid in the accessibility tree. Without one, the element is effectively hidden from assistive technology.
- Require name:
button,link,checkbox,textbox,combobox,dialog - Do not require name:
group,presentation,none - Conditional:
region(requires name only if not a landmark)
Accessible Name vs. Visual Label vs. DOM Text Content
Distinguishing between the three primary text sources a browser uses to identify UI elements for assistive technologies and AI agents.
| Feature | Accessible Name | Visual Label | DOM Text Content |
|---|---|---|---|
Primary Consumer | Assistive technologies & AI agents | Sighted human users | Browser parser & scripts |
Computation Source | Browser's accessible name algorithm | CSS-rendered text node or image | textContent property of DOM node |
Overridden by aria-label | |||
Overridden by aria-labelledby | |||
Includes CSS ::before/::after content | |||
Exposed in Accessibility Tree | |||
Visible on screen | |||
Affected by display:none |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Frequently Asked Questions
Precise answers to the most common technical questions about the browser's accessible name computation algorithm and its critical role in AI-driven content interpretation.
An accessible name is the programmatically determined, human-readable label for a user interface element calculated by the browser's accessible name computation algorithm. This string serves as the primary identifier exposed to assistive technologies like screen readers and, critically, to AI agents parsing the accessibility tree. The algorithm follows a strict precedence order defined by the W3C: it first checks for aria-labelledby, which points to one or more element IDs whose text content is concatenated. If absent, it checks aria-label. Next, it looks for native HTML labeling mechanisms—such as the <label> element associated with an <input> via a for/id pairing, or the text content inside a <button>. Finally, it falls back to the title attribute or placeholder text. Understanding this cascade is essential for semantic HTML authoring, as the computed name is what an AI model uses to understand the function of a control, not the visual presentation.
Related Terms
Understanding the accessible name requires familiarity with the browser's computation algorithm and the semantic structures that feed it. These related concepts define how programmatic labels are derived, exposed, and consumed by assistive technologies and AI agents.
Accessible Description
A complementary, programmatically determined text string that provides extended context beyond the accessible name. Computed via aria-describedby, it is announced after the name and role by screen readers. Unlike the name, the description is not used as the primary identifier. For AI parsers, the description offers rich semantic context—for example, associating a password input with its complexity requirements or linking a button to a tooltip explaining its action.
WAI-ARIA Name Prohibited
A constraint in the ARIA specification stating that certain roles must not have an accessible name provided by the author. Roles like generic, none, and presentation are intentionally nameless to prevent them from being exposed as distinct objects in the accessibility tree. Violating this rule—for example, adding aria-label to a <div> with role='presentation'—creates a malformed accessibility tree that confuses both assistive technologies and AI content parsers.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us