Skip to content

Group 3: Banner and Image audit on the website #2906

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

andgen404
Copy link
Contributor

@andgen404 andgen404 commented May 27, 2025

Group 3: @LilithJames-HDS and @shleewhite

What:
You’ll review and approve PRs that update banner and image placement across our documentation pages. Each PR will follow these standards:

  • Banners should appear below the page heading or directly above the related content.
  • Images should appear below the content they reference.
    Each PR will include context and a summary of changes.

You’ll review alongside a design partner, ensuring both design and engineering teams are involved in each update.

📌 Summary

If merged, this PR will complete updates for the following component pages as part of the audit:

  • Accordion
  • Alert
  • App-footer
  • App-frame
  • App-header
  • App-side-nav
  • ApplicationState
  • Badge
  • Icons
  • Segmented group

Images updated:

  • Badge

All other pages (5) total are okay with no changes needed.

  • Stepper / Indicator
  • Stepper / List
  • Stepper / Nav
  • Dismiss Button
  • Interactive

🔗 External links

Jira ticket: HDS-4425
Google Sheet file: Here


👀 Component checklist

💬 Please consider using conventional comments when reviewing this PR.

In this audit I fixed the following component pages:
- Accordion
- Alert
- App-footer
- App-header
- App-side-nav
- ApplicationState
- badge
-Icons
- Segmented group
- app-frame
---
All other pages (x) total are okay with no changes needed
Copy link

vercel bot commented May 27, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
hds-showcase ✅ Ready (Inspect) Visit Preview May 29, 2025 6:06pm
hds-website ✅ Ready (Inspect) Visit Preview May 29, 2025 6:06pm

@hashibot-hds hashibot-hds added the docs-website Content updates to the documentation website label May 27, 2025
@andgen404 andgen404 marked this pull request as ready for review May 27, 2025 18:44
@andgen404 andgen404 requested review from a team as code owners May 27, 2025 18:44
Copy link
Contributor

@shleewhite shleewhite left a comment

Choose a reason for hiding this comment

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

@andgen404
Copy link
Contributor Author

@LilithJames-HDS
Copy link
Contributor

Some questions:

Screenshot 2025-05-29 at 12 46 27 PM (This might be true for all the Specs pages, if this is ok then all good to ignore me)
  • On the Alerts page, under Content > Links, it seems like there should be a space between the image and the content beneath it to give more space to the content and image that go together
Screenshot 2025-05-29 at 2 07 15 PM
  • There are some images with outdated Badge components being shown, I assume that is out of scope for this work?

@andgen404
Copy link
Contributor Author

Some questions:

Screenshot 2025-05-29 at 12 46 27 PM (This might be true for all the Specs pages, if this is ok then all good to ignore me)

I think we’ve been pretty consistent about placing the image first and then the chart in the specifications tab, so changing that order might open up a bigger discussion.

  • On the Alerts page, under Content > Links, it seems like there should be a space between the image and the content beneath it to give more space to the content and image that go together
Screenshot 2025-05-29 at 2 07 15 PM * There are some images with outdated Badge components being shown, I assume that is out of scope for this work?

Good callout, yeah, it’d be out of scope for this work. It might be worth making a backlog ticket so we can revisit it later.

@heatherlarsen
Copy link
Contributor

@LilithJames-HDS The anatomy image above the table on the specification page makes sense because the content in the table is referencing the content in the image. Additionally, the image is more important as it showcases each element that makes up the component, and therefore should come first.

As for the other two items, they are outside the scope of this project.

For the alerts, this is because there is predefined spacing between certain elements, and these are components followed by text, which I'm not sure is defined since it's not common. If these are updated to images, the spacing issue would likely resolve. Feel free to create a ticket if you'd like.

Good call-out about the badges. Please create a ticket and include locations for any outdated badges you come across.

!!! Insight

The default `@titleTag` is `"div"` because the correct value is dependent on the individual page. We strongly encourage consumers to update the `@titleTag` to meet WCAG Success Criterion [1.3.1 Info and Relationships](https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships.html) as the visual experience should match what is presented to the user with assistive technology.

Copy link
Contributor

Choose a reason for hiding this comment

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

See suggestions I added for a similar banner:
https://github.com/hashicorp/design-system/pull/2897/files#r2114906824

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-website Content updates to the documentation website
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants