Skip to content

Panel component issues #27

@danielelder

Description

@danielelder

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions