People who use assistive technologies, such as a screenreader or speech-recognition software, need to know the names of interactive elements on the web. Otherwise they may not be able to recognise the thing they’re dealing with, and so be unable to interact with it.
Which means we, as authors, need to give things meaningful accessible names. How does this happen?
Under the hood
Browsers (and, through them, assistive technologies) get accessibility information through something called the accessibility tree. This is a kind of stripped-down version of the Document Object Model (DOM), a representation of the web page that browsers use to render the page.

While the DOM contains everything needed to render the page, the accessibility tree doesn’t need to know about things like styles, colours, fonts, and shapes. Instead, it focuses on four things:
- description
- role
- state
- name
It’s the last of these, the name, that assistive technologies use to announce things. But how do they get them?
Continue reading “What’s in a name?”







