Product: axe-core, issue type: Typing bug
Expectation: include-exclude object accepts DOM node instances
Actual: it only accepts strings
See the docs for this: https://github.com/dequelabs/axe-core/blob/develop/doc/API.md#include-exclude-object a DOM node is a valid value.
Compare this to its typing: https://github.com/dequelabs/axe-core/blob/develop/axe.d.ts#L54
Product: axe-core, issue type: Typing bug
Expectation: include-exclude object accepts DOM node instances
Actual: it only accepts strings
See the docs for this: https://github.com/dequelabs/axe-core/blob/develop/doc/API.md#include-exclude-object a DOM node is a valid value.
Compare this to its typing: https://github.com/dequelabs/axe-core/blob/develop/axe.d.ts#L54