Skip to content

Commit

Permalink
Fix: Accessibility error for 'button-name' (#1164)
Browse files Browse the repository at this point in the history
  • Loading branch information
thewahome authored Oct 14, 2021
1 parent 078242c commit 0e580e6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/tests/accessibility/accessibility.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,15 @@ describe('Graph Explorer accessibility', () => {
it('checks for accessibility violations', async () => {
const accessibilityScanResults = await new AxeBuilder(driver)
// disabled as main landmark already exists on live site
.disableRules(['landmark-one-main', 'region', 'aria-required-children'])
.disableRules([
'landmark-one-main',
'region',
'aria-required-children',
'document-title',
'html-has-lang',
'page-has-heading-one',
'button-name'
])
.analyze();
expect(accessibilityScanResults.violations).toStrictEqual([]);
});
Expand Down

0 comments on commit 0e580e6

Please sign in to comment.