Skip to content

Commit 74a0ea3

Browse files
committed
update interactive elements list
1 parent 351b851 commit 74a0ea3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rules/aria-label-misuse/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ const whitelisted = [
77
"main", "nav", "table", "td", "th", "aside", "header", "footer", "section", "article", "summary",
88
];
99

10-
const interactive = ["a", "audio", "button", "details", "iframe", "input", "progress", "select", "textarea", "video"]
10+
const interactive = [
11+
"a", "audio", "button", "details", "iframe", "input", "label", "progress", "select", "textarea", "video",
12+
];
1113

1214
function isValidUsage(node) {
1315
/* landmark and other whitelisted elements are valid */

0 commit comments

Comments
 (0)