Skip to content

Fix heading structure for improved accessibility #883

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

Merged
merged 3 commits into from
Jul 10, 2025

Conversation

AshmitSherigar
Copy link
Contributor

This pull request addresses heading level inconsistencies across several pages in the p5.js website to improve semantic HTML structure and accessibility.

Changes made:

  • Reviewed all major pages listed in the site navigation and footer.
  • Ensured each page has a single h1 element followed by properly nested h2 and h3 where applicable.
  • Specifically corrected heading levels on the following pages:
    • / (home page): Adjusted heading levels so h1 precedes all h2s.
    • /download: Updated h3 to h2 for proper hierarchy.

Why this matters:

  • Ensures semantic correctness for screen readers.
  • Improves accessibility and SEO.
  • Aligns with WCAG best practices and HTML5 standards.

Let me know if any additional pages need updating.

Fixes #872

@coseeian
Copy link
Collaborator

coseeian commented Jul 7, 2025

This PR looks good. I think we can merge it first. I’ll also continue reviewing to see if there are any other pages with similar issues.

@AshmitSherigar
Copy link
Contributor Author

Thanks! Sounds good- feel free to let me know if you come across any other heading issues. I would be happy to help with a follow up PR if needed.

Copy link
Contributor

@perminder-17 perminder-17 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. Thanks for your work.

@perminder-17 perminder-17 merged commit 25b408a into processing:main Jul 10, 2025
4 checks passed
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.

[Heading Level] Headings are not properly nested
3 participants