Skip to content

Commit

Permalink
lint issue fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rahuljain-dev committed Sep 18, 2023
1 parent ce85e07 commit 308e29a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions plugin/a11y/test/specs/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import { reportA11y } from '../a11y-reporter.js';
const EXPECTED_VIOLATIONS = {
'aria-allowed-attr':1,
'aria-command-name': 1,
'aria-required-children':4,
'aria-required-children': 4,
'aria-roles': 3,
'aria-tooltip-name': 1,
'color-contrast-enhanced':15,
'color-contrast':1,
'color-contrast-enhanced': 15,
'color-contrast': 1,
'landmark-one-main': 1,
'meta-viewport': 1,
'page-has-heading-one': 1,
Expand Down
8 changes: 4 additions & 4 deletions plugin/a11y/test/specs/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ import { reportA11y } from '../a11y-reporter.js';
const EXPECTED_VIOLATIONS = {
'aria-command-name': 1,
'aria-allowed-attr': 4,
'aria-required-children':4,
'color-contrast':12,
'aria-required-children': 4,
'color-contrast': 12,
'aria-tooltip-name': 1,
'landmark-one-main': 1,
'meta-viewport': 1,
'page-has-heading-one': 1,
'region': 22,
region: 22,
'nested-interactive': 15,
};

const EXPECTED_INCOMPLETE_VIOLATIONS = {
'aria-allowed-role': 5,
'color-contrast-enhanced': 2,
'aria-required-children':1,
'aria-required-children': 1,
};

describe('Nuxeo Home', () => {
Expand Down

0 comments on commit 308e29a

Please sign in to comment.