This library contains a TypeScript implementation of the [Accessible Name Computation](https://www.w3.org/TR/accname-1.1/).
npm install accnameHTMLElements.accname with NPM, run:bash
$ npm install accname
`
Once installed, import and use accname as follows:
`typescript
import {getAccessibleName} from 'accname';const elem = document.getElementById('target');
const name = getAccessibleName(elem);
``