Skip to content

Commit 20aca33

Browse files
authored
fix: Updates role support for aria-required attribute in toBeRequired (#590)
1 parent bd82f64 commit 20aca33

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/to-be-required.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,13 @@ const UNSUPPORTED_INPUT_TYPES = [
1515
]
1616

1717
const SUPPORTED_ARIA_ROLES = [
18+
'checkbox',
1819
'combobox',
1920
'gridcell',
21+
'listbox',
2022
'radiogroup',
2123
'spinbutton',
24+
'textbox',
2225
'tree',
2326
]
2427

0 commit comments

Comments
 (0)