The following should have been reported as incomplete, but is failed instead:
<div role="code" aria-label="foo">Hello world</div>
It should only fail if the content is missing, like in the following:
<div role="code" aria-label="foo"></div>
This already works without the role. It goes bad because subtreeText isn't called correctly.
The following should have been reported as incomplete, but is failed instead:
It should only fail if the content is missing, like in the following:
This already works without the role. It goes bad because
subtreeTextisn't called correctly.