ARIA & Engineering5 min readUpdated 2026-11-15
Accessible Name Computation (AccName): How Screen Readers Name Controls
Learn how browsers compute every element's accessible name and why visible text must match aria-label.
Key Takeaways
- aria-labelledby takes highest priority, followed by aria-label, host labels, inner text, and title.
- Always include visible text inside any overriding aria-label (WCAG 2.5.3).
Why Precedence Surprises Developers
Adding aria-label='Learn more' to a button visibly reading 'Pricing' hides 'Pricing' from screen reader and voice-control users completely.
Frequently Asked Questions
Name identifies what the control is ('Email', 'Submit'); Description adds secondary context via aria-describedby ('Must be 12+ characters').
Interactive Tools for This Guide
ARIA & Dev
Accessible Name Checker
Inspect computed accessible names and exact naming precedence for every control.
Open tool
HTML Structure
Missing Accessible Name Checker
Spot buttons, links, inputs, images, and SVGs with empty accessible names.
Open tool
ARIA & Dev
ARIA Label Validator
Verify aria-label, aria-labelledby references, and WCAG 2.5.3 Label in Name.
Open tool