Closed valdrinkoshi closed 7 years ago
https://github.com/GoogleChrome/accessibility-developer-tools/blob/master/src/js/Properties.js#L178
hasDirectTextDescendantTreeWalker assumes the parentNode will have tagName defined, but that's not the case for DocumentFragments.
hasDirectTextDescendantTreeWalker
parentNode
tagName
https://github.com/GoogleChrome/accessibility-developer-tools/blob/master/src/js/Properties.js#L178
hasDirectTextDescendantTreeWalker
assumes theparentNode
will havetagName
defined, but that's not the case for DocumentFragments.