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

[3415763] Fixed duplicated 'main-content' element is printed on the page. #98

Merged
merged 3 commits into from
Mar 14, 2024

Conversation

joshua-salsadigital
Copy link
Collaborator

@joshua-salsadigital joshua-salsadigital commented Mar 7, 2024

closes #100

Checklist before requesting a review

  • I have formatted the subject to include the issue number
    as [#123] Verb in past tense with a period at the end.
  • I have provided information in the Changed section about WHY something was
    done if this was a bespoke implementation.
  • I have performed a self-review of my code.
  • I have commented on my code, particularly in hard-to-understand areas.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have run new and existing relevant tests locally with my changes,
    and they have passed.
  • I have provided screenshots, where applicable.

Changed

  1. Fixed duplicated 'main-content' element is printed on the page.

Screenshots

Screenshot 2024-03-07 at 2 04 12 PM

@joshua-salsadigital joshua-salsadigital added the PR: Needs review Pull request needs a review from assigned developers label Mar 7, 2024
@joshua-salsadigital joshua-salsadigital self-assigned this Mar 7, 2024
@@ -41,7 +41,6 @@

{% if content or sidebar %}
<main class="ct-layout {{ modifier_class }}" role="main">
<a id="main-content" tabindex="-1"></a>
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Removed from here as its added
https://github.com/civictheme/uikit/blob/main/components/04-templates/page/page.twig#L52

As element with the ID main-content is placed at the top of the document, and it's followed by the

element, which wraps around the main content area.

Copy link

github-actions bot commented Mar 7, 2024

@github-actions github-actions bot temporarily deployed to pull request March 7, 2024 08:37 Inactive
@AlexSkrypnyk AlexSkrypnyk added PR: DO NOT MERGE Do not merge this pull request PR: Requires more work Pull request was reviewed and reviver(s) asked to work further on the pull request BLOCKED Issue or pull request is blocked and removed PR: Needs review Pull request needs a review from assigned developers PR: DO NOT MERGE Do not merge this pull request PR: Requires more work Pull request was reviewed and reviver(s) asked to work further on the pull request labels Mar 7, 2024
@AlexSkrypnyk
Copy link
Contributor

We need to wait for a11y review of the solution. Question posted to #100

@joshua-salsadigital joshua-salsadigital added PR: Needs review Pull request needs a review from assigned developers and removed BLOCKED Issue or pull request is blocked labels Mar 14, 2024
@github-actions github-actions bot temporarily deployed to pull request March 14, 2024 01:36 Inactive
@AlexSkrypnyk AlexSkrypnyk merged commit 3481f69 into main Mar 14, 2024
4 checks passed
@AlexSkrypnyk AlexSkrypnyk deleted the feature/3415763-fix-duplicate-main-content-element branch March 14, 2024 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Needs review Pull request needs a review from assigned developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Skip link has duplicated 'main-content' elements is printed on the page
2 participants