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

Nest <va-promo-banner> within <header> #15943

Closed
1 of 8 tasks
laflannery opened this issue Nov 1, 2023 · 4 comments
Closed
1 of 8 tasks

Nest <va-promo-banner> within <header> #15943

laflannery opened this issue Nov 1, 2023 · 4 comments
Assignees
Labels
accessibility Issues related to accessibility Defect Something isn't working (issue type) Header/footer Owned by Sitewide Public Webites Public Websites Scrum team in the Sitewide crew sitewide VA.gov frontend CMS team practice area

Comments

@laflannery
Copy link
Contributor

laflannery commented Nov 1, 2023

Description

The <va-promo-banner> should be nested under the <header> This currently isn't being flagged as an error because it has it's own landmark role being applied to it. However, this shouldn't be there and I've asked that it be removed. I would like to move this under the <header> during the redesign because that's where it should be to ensure all content is contained by a landmark.

Steps for Implementation

Move the <va-promo-banner> directly underneath the <div id="legacy-header">:
image

I think this is ok for the injected header too because just the Legacy Header gets injected from what I was seeing but obviously this needs to be confirmed

Acceptance Criteria

  • The <va-promo-banner> is wrapped within the <header>
  • The injected header is not impacted
  • Requires design review
  • Requires accessibility review

Team

Please check the team(s) that will do this work.

  • CMS Team
  • Public Websites
  • Facilities
  • Accelerated Publishing
@laflannery laflannery added Needs refining Issue status Public Websites Scrum team in the Sitewide crew accessibility Issues related to accessibility Blocked Issues that are blocked on factors other than blocking issues. Header/footer Owned by Sitewide Public Webites VA.gov frontend CMS team practice area labels Nov 1, 2023
@FranECross FranECross removed Needs refining Issue status Blocked Issues that are blocked on factors other than blocking issues. labels Nov 15, 2023
@chriskim2311 chriskim2311 self-assigned this Nov 16, 2023
@jilladams
Copy link
Contributor

Noting: from Laura's perspective, this isn't hugely critical, just nice to fix early if we can. If we determine that the testing burden is high and should wait til we implement the Federal header / footer, that's ok.

@chriskim2311
Copy link
Contributor

@laflannery Can you take a quick look at this before I close. I was able to see the correct html markup for the va-promo-banner.

@laflannery
Copy link
Contributor Author

Looks good @chriskim2311 - It is correctly under the Header (aka banner landmark) and no additional axe errors because the DST update shipped too, gold stars for everyone!!

image
image

@chriskim2311
Copy link
Contributor

Great thanks for taking a look closing!

@jilladams jilladams added the Defect Something isn't working (issue type) label Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility Issues related to accessibility Defect Something isn't working (issue type) Header/footer Owned by Sitewide Public Webites Public Websites Scrum team in the Sitewide crew sitewide VA.gov frontend CMS team practice area
Projects
None yet
Development

No branches or pull requests

4 participants