Skip to content

Commit 1d53a21

Browse files
committed
chore: update docs
1 parent 519b7a4 commit 1d53a21

File tree

2 files changed

+147
-831
lines changed

2 files changed

+147
-831
lines changed

README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,6 @@ _TODO..._
2222

2323
_TODO..._
2424

25-
Get the [accessible name and description](https://www.w3.org/TR/html-aam-1.0/#accessible-name-and-description-computation) for an HTML element.
26-
27-
```ts
28-
const el = document.querySelector('input');
29-
getAccNameAndDescription(el);
30-
// { name: "My Input", description: undefined }
31-
```
32-
33-
> [!NOTE]
34-
> There are limitations in Node.js with complex accessible name calculation such as `aria-labelledby`. But simple calculations like `aria-label` are well-supported.
35-
3625
## Reference
3726

3827
_TODO..._

0 commit comments

Comments
 (0)