Skip to content

fix: change header h1 to span for proper heading hierarchy - #1708

Open
Youngmaster0304 wants to merge 1 commit into
magic-peach:mainfrom
Youngmaster0304:fix/heading-hierarchy
Open

fix: change header h1 to span for proper heading hierarchy#1708
Youngmaster0304 wants to merge 1 commit into
magic-peach:mainfrom
Youngmaster0304:fix/heading-hierarchy

Conversation

@Youngmaster0304

Copy link
Copy Markdown

What this does

Fixed heading hierarchy in the main page by changing the header h1 to a span element.

Why

Proper heading hierarchy (h1 → h2 → h3) is important for accessibility and SEO. The page had two h1 elements:

  1. In the header: <h1>Reframe</h1>
  2. In VideoEditor: <h1>REFRAME</h1>

Changes

  • Changed <h1> to <span> in src/app/layout.tsx (header)
  • Now there is exactly one h1 per page (the main REFRAME title)

Acceptance Criteria

  • One <h1> on the page
  • Logical heading hierarchy maintained
  • No heading levels skipped

Contributor

Abhinav Jha (@Youngmaster0304) | abhinavjha0304@gmail.com
GSSoC 2026 Participant

Fixes #69

Changed the h1 element in the header to a span element to ensure
there is only one h1 per page (the main REFRAME title in VideoEditor).

Fixes magic-peach#69

Contributor: Abhinav Jha (@Youngmaster0304)
Email: abhinavjha0304@gmail.com
GSSoC 2026 Participant
@vercel

vercel Bot commented Aug 1, 2026

Copy link
Copy Markdown

@Youngmaster0304 is attempting to deploy a commit to the magic-peach1's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added level:beginner Beginner level - 20 pts type:bug Bug fix type:design UI/UX design labels Aug 1, 2026
@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

✅ PR Format Check Passed — @Youngmaster0304

Basic format checks passed. A maintainer will review your code changes.

This does not mean the PR is approved — it just means the format is correct.

@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

👋 Thanks for your PR, @Youngmaster0304!

Welcome to Reframe — a browser-based video editor built for everyone 🎬

🟠 GSSoC'26 PR detected — thanks for contributing under GirlScript Summer of Code 2026!

What happens next

  1. 🤖 Automated checks — build & TypeScript typecheck will run automatically
  2. Vercel preview — a preview deployment will be created (requires maintainer authorization for fork PRs)
  3. 👀 Code review — a maintainer will review your changes
  4. 🚀 Merge — once approved, your PR will be merged!

Quick checklist

  • PR title follows Conventional Commits (e.g. feat: add dark mode)
  • Linked the issue this PR closes (e.g. Closes #123)
  • Tested the changes locally (bun run dev)
  • Build passes (bun run build)

Useful links

Happy coding! 🎉

@github-actions github-actions Bot added the gssoc'26 GirlScript Summer of Code 2026 label Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc'26 GirlScript Summer of Code 2026 level:beginner Beginner level - 20 pts type:bug Bug fix type:design UI/UX design

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Good First Issue] Fix heading hierarchy in the main page

1 participant