Skip to content

Commit

Permalink
changetset
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Oct 29, 2021
1 parent 1a010ae commit 5b50559
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .changeset/itchy-ties-taste.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"dom-accessibility-api": patch
---

Allow computing name for inaccessible elements

This is mainly targetted at integration with `@testing-library/dom`.
But it can also be used as a general performance boost when used in a JSDOM environment.
The rationale is that most elements are part of the a11y tree.
In those cases computing a11y tree exclusion is wasted.
Since it's expensive, we can disable it.
The recommendation is to only ignore a11y tree inclusion locally and specifically
enable it for the tests where you do know that a11y tree inclusion will play a role.

0 comments on commit 5b50559

Please sign in to comment.