We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c15002 commit ad71f9dCopy full SHA for ad71f9d
lib/core/utils/get-ancestry.js
@@ -9,7 +9,7 @@ function generateAncestry(node) {
9
if (
10
nodeName !== 'head' &&
11
nodeName !== 'body' &&
12
- parentNode?.children.length > 1
+ parentElement?.children.length > 1
13
) {
14
let index = 0;
15
// a11y-engine changes
0 commit comments