Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove breadcrumbs example from inverse_header docs #4244

Merged
merged 2 commits into from
Sep 23, 2024

Conversation

MartinJJones
Copy link
Contributor

@MartinJJones MartinJJones commented Sep 20, 2024

What

Remove breadcrumbs example from inverse header component documentation

Trello card

Why

It's not possible to include the breadcrumbs inside the header component without ending up with a WCAG fail because the variant places it inside the <main> container since the header itself is inside main.

@govuk-ci govuk-ci temporarily deployed to components-gem-pr-4244 September 20, 2024 10:00 Inactive
@MartinJJones MartinJJones marked this pull request as ready for review September 20, 2024 10:01
@govuk-ci govuk-ci temporarily deployed to components-gem-pr-4244 September 20, 2024 10:02 Inactive
Copy link
Contributor

@unoduetre unoduetre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, but needs a rebase as there is a conflict and Percy approval.

It's not possible to include the breadcrumbs inside the header component without ending up with a WCAG fail because the variant places it inside the <main> container since the header itself is inside the main.

Also updated the `with_link` example to be `with_paragraph_and_link`
@MartinJJones MartinJJones force-pushed the remove-breadcrumbs-example-from-inverse-header branch from 9f4d63f to a5085eb Compare September 23, 2024 13:58
@govuk-ci govuk-ci temporarily deployed to components-gem-pr-4244 September 23, 2024 13:59 Inactive
@MartinJJones MartinJJones merged commit 112d213 into main Sep 23, 2024
12 checks passed
@MartinJJones MartinJJones deleted the remove-breadcrumbs-example-from-inverse-header branch September 23, 2024 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants