diff --git a/lib/commons/aria/index.js b/lib/commons/aria/index.js index 996afd87c9..0ca6fd0d23 100644 --- a/lib/commons/aria/index.js +++ b/lib/commons/aria/index.js @@ -522,7 +522,7 @@ lookupTable.role = { context: null, implicit: ['body'], unsupported: false, - allowedElements: ['article', 'embed', 'iframe', 'section', 'svg', 'object'] + allowedElements: ['article', 'embed', 'iframe', 'object', 'section', 'svg'] }, 'doc-abstract': { type: 'section', @@ -1407,9 +1407,11 @@ lookupTable.role = { 'h5', 'h6', 'header', + 'iframe', 'li', + 'ol', 'section', - 'ol' + 'ul' ] }, { @@ -1491,9 +1493,11 @@ lookupTable.role = { 'h5', 'h6', 'header', + 'iframe', 'li', + 'ol', 'section', - 'ol' + 'ul' ] }, { diff --git a/test/integration/rules/aria-allowed-role/aria-allowed-role.html b/test/integration/rules/aria-allowed-role/aria-allowed-role.html index e4acd11792..fc7b1a6949 100644 --- a/test/integration/rules/aria-allowed-role/aria-allowed-role.html +++ b/test/integration/rules/aria-allowed-role/aria-allowed-role.html @@ -41,6 +41,8 @@