diff --git a/__tests__/accessiblity_audit.test.js b/__tests__/accessiblity_audit.test.js index cea4835925..bcaa23f918 100644 --- a/__tests__/accessiblity_audit.test.js +++ b/__tests__/accessiblity_audit.test.js @@ -13,7 +13,7 @@ async function audit (page) { const axe = new AxePuppeteer(page) .include('body') .exclude('#app-site-search__input') // axe reports there is "no label associated with the text field", when there is one. - .exclude('.app-phase-banner__wrapper') // axe reports that the phase banner is not inside a landmark, which is intentional. + .exclude('.app-phase-banner') // axe reports that the phase banner is not inside a landmark, which is intentional. const results = await axe.analyze() diff --git a/views/partials/_banner.njk b/views/partials/_banner.njk index cd1cfbd0ef..fbeb96b411 100644 --- a/views/partials/_banner.njk +++ b/views/partials/_banner.njk @@ -17,8 +17,6 @@ {% if bannerText %} {% from "govuk/components/phase-banner/macro.njk" import govukPhaseBanner %} -
{% endif %}