Skip to content

Commit 3efbaa7

Browse files
authored
add button to list of elements that can be associated with a label
1 parent 5d14408 commit 3efbaa7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rules/label-has-associated-control.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export default ({
6969
'progress',
7070
'select',
7171
'textarea',
72+
'button',
7273
].concat((options.controlComponents || []));
7374
// Prevent crazy recursion.
7475
const recursionDepth = Math.min(

0 commit comments

Comments
 (0)