Skip to content

Commit

Permalink
test(a11y): remove scrollable rule for palette
Browse files Browse the repository at this point in the history
This is resolved now 🎉
  • Loading branch information
Niklas Kiefer committed Oct 10, 2023
1 parent 8690082 commit f40f22e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 21 deletions.
5 changes: 0 additions & 5 deletions e2e/visual/no-theme.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,8 @@ test('no-theme - editor', async ({ page, makeAxeBuilder }) => {
await expect(page).toHaveScreenshot();

// and then
// @Note(pinussilvestrus): the palette entries are currently
// not keyboard accessible, as we need to invest in an overall
// editor keyboard experience
// cf. https://github.com/bpmn-io/form-js/issues/536
const results = await makeAxeBuilder({
disableRules: [
'scrollable-region-focusable',
'page-has-heading-one'
]
}).analyze();
Expand Down
5 changes: 0 additions & 5 deletions e2e/visual/theming.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,8 @@ test('theming - editor', async ({ page, makeAxeBuilder }) => {
await expect(page).toHaveScreenshot();

// and then
// @Note(pinussilvestrus): the palette entries are currently
// not keyboard accessible, as we need to invest in an overall
// editor keyboard experience
// cf. https://github.com/bpmn-io/form-js/issues/536
const results = await makeAxeBuilder({
disableRules: [
'scrollable-region-focusable',
'page-has-heading-one'
]
}).analyze();
Expand Down
12 changes: 1 addition & 11 deletions packages/form-js-editor/test/spec/FormEditor.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1501,17 +1501,7 @@ describe('FormEditor', function() {
});

// then
// @Note(pinussilvestrus): the palette entries are currently
// not keyboard accessible, as we need to invest in an overall
// editor keyboard experience
// cf. https://github.com/bpmn-io/form-js/issues/536
await expectNoViolations(container, {
rules: {
'scrollable-region-focusable': {
enabled: false
}
}
});
await expectNoViolations(container);
});

});
Expand Down

0 comments on commit f40f22e

Please sign in to comment.