Skip to content

Commit b567033

Browse files
authored
adds role=radio to img alt=foo allowances
A `role=radio` was meant to be an allowance for an `img alt=foo`, but it had mistakenly been left out of the spec. ARIA in HTML is fixing this oversight, w3c/html-aria#381, so this PR is to match this added allowance.
1 parent c3a7d16 commit b567033

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/standards/html-elms.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ const htmlElms = {
358358
'menuitemradio',
359359
'option',
360360
'progressbar',
361+
'radio',
361362
'scrollbar',
362363
'separator',
363364
'slider',

0 commit comments

Comments
 (0)