Skip to content

Commit

Permalink
fix(aria-roles): Add allowedAttrs for meter role
Browse files Browse the repository at this point in the history
Adds the allowedAttrs: ['aria-valuetext'] to the meter role

Closes issue dequelabs#2107
  • Loading branch information
timmybytes committed Oct 7, 2020
1 parent bef7521 commit 4dd5fca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/standards/aria-roles.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ const ariaRoles = {
},
meter: {
type: 'structure',
allowedAttrs: ['aria-valuetext'],
requiredAttrs: ['aria-valuemax', 'aria-valuemin', 'aria-valuenow']
},
navigation: {
Expand Down

0 comments on commit 4dd5fca

Please sign in to comment.