Skip to content

Commit

Permalink
fix(aria-roles): Add 'treegrid' to caption
Browse files Browse the repository at this point in the history
Adds treegrid to caption role's requiredContext array.

Closes issue: dequelabs#2107
  • Loading branch information
timmybytes committed Oct 9, 2020
1 parent 4dd5fca commit ecfcda1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/standards/aria-roles.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const ariaRoles = {
},
caption: {
type: 'structure',
requiredContext: ['figure', 'table', 'grid']
requiredContext: ['figure', 'table', 'grid', 'treegrid']
},
cell: {
type: 'structure',
Expand Down

0 comments on commit ecfcda1

Please sign in to comment.