Skip to content

Commit eaaeddf

Browse files
committed
[fix] - Subclass roles for radio require aria-checked.
Fixes #69
1 parent 7e215a2 commit eaaeddf

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/util/attributes/role.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1816,7 +1816,9 @@
18161816
]
18171817
},
18181818
"MENUITEMCHECKBOX": {
1819-
"requiredProps": [],
1819+
"requiredProps": [
1820+
"ARIA-CHECKED"
1821+
],
18201822
"abstract": false,
18211823
"props": [
18221824
"ARIA-CHECKED",
@@ -1839,7 +1841,9 @@
18391841
]
18401842
},
18411843
"MENUITEMRADIO": {
1842-
"requiredProps": [],
1844+
"requiredProps": [
1845+
"ARIA-CHECKED"
1846+
],
18431847
"abstract": false,
18441848
"props": [
18451849
"ARIA-CHECKED",
@@ -1985,7 +1989,9 @@
19851989
]
19861990
},
19871991
"RADIO": {
1988-
"requiredProps": [],
1992+
"requiredProps": [
1993+
"ARIA-CHECKED"
1994+
],
19891995
"abstract": false,
19901996
"props": [
19911997
"ARIA-CHECKED",

0 commit comments

Comments
 (0)