We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25859dd commit bb2bf60Copy full SHA for bb2bf60
2 files changed
lib/standards/aria-roles.js
@@ -631,11 +631,14 @@ const ariaRoles = {
631
// Note: since the slider role has implicit
632
// aria-orientation, aria-valuemax, aria-valuemin values it
633
// is not required to be added by the user
634
+ // Note: aria-required is not in the 1.1 or 1.2 specs but is
635
+ // consistently supported in ATs
636
allowedAttrs: [
637
'aria-valuemax',
638
'aria-valuemin',
639
'aria-orientation',
640
'aria-readonly',
641
+ 'aria-required',
642
'aria-valuetext'
643
],
644
superclassRole: ['input', 'range'],
test/integration/rules/aria-allowed-attr/passes.html
@@ -1509,6 +1509,7 @@
1509
aria-owns="value"
1510
aria-relevant="value"
1511
aria-readonly="value"
1512
+ aria-required="value"
1513
>
1514
ok
1515
</div>
0 commit comments