From b4c42fe854b498b04c05d36bfeba31739b3c02ed Mon Sep 17 00:00:00 2001 From: devaradhanm Date: Fri, 15 Sep 2017 12:56:41 -0700 Subject: [PATCH] fix(aria): adding support for aria-expanded in menuitem (#521) --- lib/commons/aria/index.js | 2 +- test/integration/rules/aria-allowed-attr/passes.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/commons/aria/index.js b/lib/commons/aria/index.js index 3ffbf1b94a..d6fbb9983b 100644 --- a/lib/commons/aria/index.js +++ b/lib/commons/aria/index.js @@ -524,7 +524,7 @@ lookupTables.role = { 'menuitem': { type: 'widget', attributes: { - allowed: ['aria-posinset', 'aria-setsize'] + allowed: ['aria-posinset', 'aria-setsize', 'aria-expanded'] }, owned: null, nameFrom: ['author', 'contents'], diff --git a/test/integration/rules/aria-allowed-attr/passes.html b/test/integration/rules/aria-allowed-attr/passes.html index e10c84d156..079840546c 100644 --- a/test/integration/rules/aria-allowed-attr/passes.html +++ b/test/integration/rules/aria-allowed-attr/passes.html @@ -65,7 +65,7 @@ - +
ok