We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33fe0b0 commit 985fa01Copy full SHA for 985fa01
tests/role-supports-aria-props.js
@@ -348,7 +348,7 @@ ruleTester.run('role-supports-aria-props', rule, {
348
},
349
{
350
code: '<aside aria-checked />',
351
- errors: [getErrorMessage('aria-checked', 'complementary')],
+ errors: [getErrorMessage('aria-checked', 'generic')],
352
353
354
code: '<ul aria-expanded />',
@@ -364,7 +364,7 @@ ruleTester.run('role-supports-aria-props', rule, {
364
365
366
code: '<aside aria-expanded />',
367
- errors: [getErrorMessage('aria-expanded', 'complementary')],
+ errors: [getErrorMessage('aria-expanded', 'generic')],
368
369
370
code: '<article aria-expanded />',
@@ -392,6 +392,10 @@ ruleTester.run('role-supports-aria-props', rule, {
392
393
394
code: '<section aria-expanded />',
395
396
+ },
397
+ {
398
+ code: '<section aria-label="something" aria-expanded />',
399
errors: [getErrorMessage('aria-expanded', 'region')],
400
401
0 commit comments