We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cff81b5 commit 99c3cddCopy full SHA for 99c3cdd
src/util/isInteractiveElement.js
@@ -37,7 +37,7 @@ const pureInteractiveRoleElements = [...elementRoles.entries()]
37
): ElementCallbackMap => {
38
const interactiveElements = accumulator;
39
const elementName = elementSchema.name;
40
- const elementAttributes = elementSchema.attributes || [];
+ const elementAttributes = elementSchema.attributes || new Map([]);
41
interactiveElements[elementName] = (attributes: Array<Node>): boolean => {
42
const passedAttrCheck =
43
elementAttributes.size === 0 ||
0 commit comments