Skip to content

Fix/resume headings#356

Merged
SharonStrats merged 2 commits into
post-milestone3mfrom
fix/resume-headings
May 21, 2026
Merged

Fix/resume headings#356
SharonStrats merged 2 commits into
post-milestone3mfrom
fix/resume-headings

Conversation

@SharonStrats
Copy link
Copy Markdown
Contributor

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR addresses accessibility issue #347 in the Resume section by correcting heading level hierarchy so headings no longer skip from h2 to h4.

Changes:

  • Update each resume role title heading from h4 to h3 to maintain semantic heading order under the Resume section’s h2.
  • Update Resume section CSS to style h3 role headings consistently and narrow the .resume-card__section h3 rule to direct children only.
  • Adjust mobile/narrow layout CSS variables for role title sizing.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/sections/resume/ResumeSection.ts Changes role headings to h3 to fix the heading-level skip.
src/sections/resume/ResumeSection.css Adds h3 selectors and refines section heading targeting to avoid unintended styling.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

<li class="resume-card__item" role="listitem" aria-labelledby=${roleTitleId} aria-describedby=${ariaDescribedBy}>
<div class="resume-card__item-header">
<h4 id=${roleTitleId}>${role.title}</h4>
<h3 id=${roleTitleId}>${role.title}</h3>
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

So i feel like this is okay because .profile-grid .resume-card__section h3 is resume__card h3. There are no other h3 in resume card, let me know what you think @NoelDeMartin

Copy link
Copy Markdown
Member

@NoelDeMartin NoelDeMartin May 21, 2026

Choose a reason for hiding this comment

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

Looking at the page as it was before, I think it makes more sense to leave it as h3 yes. Although given the dynamic nature of this components, maybe there is a situation where <h4> would make more sense, I'm not sure :/. In any case, what is 100% sure is that an <h4> should go after an <h3>, without skipping levels. And seeing how this component is used currently, it sits under an <h3>.

Copy link
Copy Markdown
Member

@NoelDeMartin NoelDeMartin left a comment

Choose a reason for hiding this comment

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

This looks good, I'm not merging because I'm not sure how we want to proceed with the PRs until we start using the staging branch. But I think this can be merged if you want.

@SharonStrats SharonStrats merged commit bf89280 into post-milestone3m May 21, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from In review to Done in SolidOS NLNet UI May 21, 2026
@SharonStrats SharonStrats deleted the fix/resume-headings branch May 21, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants