fix: Consider <caption> and <legend> (#580)
fix: Consider <caption> and <legend> (#580)

* fix: Consider <caption> and <legend>

* stable
testing-library/dom-testing-library,testing-library/dom-testing-library