Skip to content

Commit

Permalink
fix(aria-roles): Add WAI-ARIA 1.2 roles to testing
Browse files Browse the repository at this point in the history
Adds new roles from WAI-ARIA 1.2 spec to test/commons/standards/get-aria-roles-by-type.js

Closes issue dequelabs#2107
  • Loading branch information
timmybytes committed Oct 7, 2020
1 parent f84abde commit bef7521
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/commons/standards/get-aria-roles-by-type.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,40 @@ describe('standards.getAriaRolesByType', function() {
var structureRoles = getAriaRolesByType('structure');
assert.deepEqual(structureRoles, [
'article',
'blockquote',
'caption',
'cell',
'code',
'columnheader',
'definition',
'deletion',
'directory',
'document',
'emphasis',
'feed',
'figure',
'group',
'heading',
'img',
'insertion',
'list',
'listitem',
'math',
'meter',
'none',
'note',
'paragraph',
'presentation',
'row',
'rowgroup',
'rowheader',
'separator',
'strong',
'subscript',
'superscript',
'table',
'term',
'time',
'toolbar',
'tooltip'
]);
Expand Down

0 comments on commit bef7521

Please sign in to comment.