You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using rule: no-unsupported-elements-use-aria I am getting the following error:
Uncaught (in promise) TypeError: Cannot read property 'reserved' of undefined
The error is occurring when the tag it's testing is a <g> tag which is a child of an <svg> tag. The code that is blowing up is here:
constreserved=DOM[tagName].reserved||false
It seems that the <g> tag is not found in the DOM object. I think maybe there needs to be a try/catch of check on existence before checking for reserved. There are apparently a lot of possible children tags of <svg> elements, so it seems this could come up more often.
The text was updated successfully, but these errors were encountered:
When using rule: no-unsupported-elements-use-aria I am getting the following error:
The error is occurring when the tag it's testing is a
<g>
tag which is a child of an<svg>
tag. The code that is blowing up is here:It seems that the
<g>
tag is not found in theDOM
object. I think maybe there needs to be a try/catch of check on existence before checking for reserved. There are apparently a lot of possible children tags of<svg>
elements, so it seems this could come up more often.The text was updated successfully, but these errors were encountered: