From 9159923f403c205e65de0b07405ed85cce85d9ce Mon Sep 17 00:00:00 2001 From: Kate Higa <16447748+khiga8@users.noreply.github.com> Date: Tue, 26 Sep 2023 10:23:51 -0400 Subject: [PATCH] Add failing testcase --- tests/a11y-role-supports-aria-props.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/a11y-role-supports-aria-props.js b/tests/a11y-role-supports-aria-props.js index a367e454..424c363a 100644 --- a/tests/a11y-role-supports-aria-props.js +++ b/tests/a11y-role-supports-aria-props.js @@ -29,6 +29,18 @@ function getErrorMessage(attribute, role) { ruleTester.run('a11y-role-supports-aria-props', rule, { valid: [ + { + code: ` +
+ {children} +
`, + }, {code: ''}, {code: '
'}, {code: '
'},