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

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

Conversation

AshmitSherigar
Copy link

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

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
1 participant