diff --git a/core/src/components/input/test/a11y/input.e2e.ts b/core/src/components/input/test/a11y/input.e2e.ts new file mode 100644 index 0000000000..1cf6d2317f --- /dev/null +++ b/core/src/components/input/test/a11y/input.e2e.ts @@ -0,0 +1,17 @@ +import AxeBuilder from '@axe-core/playwright'; +import { expect } from '@playwright/test'; +import { test } from '@utils/test/playwright'; + +test.describe('input: a11y', () => { + test.beforeEach(async ({ skip }) => { + skip.rtl(); + skip.mode('md'); + }); + + test('should not have accessibility violations', async ({ page }) => { + await page.goto(`/src/components/input/test/a11y`); + + const results = await new AxeBuilder({ page }).analyze(); + expect(results.violations).toEqual([]); + }); +});