diff --git a/packages/govuk-frontend/src/govuk/components/accordion/accordion.mjs b/packages/govuk-frontend/src/govuk/components/accordion/accordion.mjs index 2734833954..81135d2486 100644 --- a/packages/govuk-frontend/src/govuk/components/accordion/accordion.mjs +++ b/packages/govuk-frontend/src/govuk/components/accordion/accordion.mjs @@ -141,7 +141,7 @@ export class Accordion extends GOVUKFrontendComponent { if (!$sections.length) { throw new ElementError({ componentName: 'Accordion', - identifier: `Sections (\`.${this.sectionClass}\`)` + identifier: `Sections (\`