diff --git a/src/govuk/components/summary-list/template.test.js b/src/govuk/components/summary-list/template.test.js index 8e1b69e4ee..a22c114792 100644 --- a/src/govuk/components/summary-list/template.test.js +++ b/src/govuk/components/summary-list/template.test.js @@ -14,14 +14,7 @@ describe('Summary list', () => { it('passes accessibility tests', async () => { const $ = render('summary-list', examples.default) - const results = await axe($.html(), { - rules: { - // In newer versions of the HTML specification wrapper - //
s are allowed in a definition list - dlitem: { enabled: false }, - 'definition-list': { enabled: false } - } - }) + const results = await axe($.html()) expect(results).toHaveNoViolations() }) })