From bef75210734a10660ae3a7ab8aecf2e00f245c1b Mon Sep 17 00:00:00 2001 From: Timothy Merritt Date: Wed, 7 Oct 2020 12:52:53 -0700 Subject: [PATCH] fix(aria-roles): Add WAI-ARIA 1.2 roles to testing Adds new roles from WAI-ARIA 1.2 spec to test/commons/standards/get-aria-roles-by-type.js Closes issue #2107 --- test/commons/standards/get-aria-roles-by-type.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test/commons/standards/get-aria-roles-by-type.js b/test/commons/standards/get-aria-roles-by-type.js index 29be9a16f3..a83ffe528e 100644 --- a/test/commons/standards/get-aria-roles-by-type.js +++ b/test/commons/standards/get-aria-roles-by-type.js @@ -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' ]);