axe.a11yCheck throws errors in nested components
BrianSipple opened this issue · comments
[Note] I think this is actually a larger issue in axe-core
-- and I PR'd my proposed changes for it there -- but I also wanted to make a note here for the purposes of cross-referencing and to offer an idea for how we can address it in the meantime...
I'm seeing (so far) two different errors in the console when axe.a11yCheck
is called on a form component with nested components:
I resolved it by making these changes in axe-core
, however, for our purposes and the way we're using axe.a11yCheck
, it seems like we can just as well pass in string of the element ID as a selector with the changes here.
Interestingly, the violations still register everything appears to run as expected -- but then the errors in the console do appear to cause the ember-inspector
to crash.
Okay, that's definitely an error in axe-core. I'm trying to get somebody from Deque to look at it. 😄 I'd rather fix this once and for all upstream than work around it here.
Upstream has been resolved. Closing.