The govPanel component contains the following issues:
- The component contains multiple template containers (divs), this reduces the flexibility of the component and may cause alignment issues on some pages.
- There is a hard coded ID with the value "main-content"; this same value exists in other components (for example the govNotificationBanner). IDs should be unique.
Observation: The "govuk-panel" div element has the role=alert, this is generally only useful if the component is going to change content dynamically after the page has loaded.
The govPanel component contains the following issues:
Observation: The "govuk-panel" div element has the role=alert, this is generally only useful if the component is going to change content dynamically after the page has loaded.