Skip to content

a11y: Frame aria-labelledby points at non-existent header IDs on /blog routes #65

Description

@thiras

`components/ui/Frame.tsx:22` hard-codes `aria-labelledby={`${id}-h`}`. Every existing consumer pairs an element with the matching `${id}-h` id:

  • Hero → `intro-h`
  • Method → `method-h`
  • Faq → `faq-h`
  • Comparison → `compare-h`
  • Close → `contact-h`

The two routes added in #61 break that contract:

  • `app/blog/page.tsx:46` declares `<Frame id="blog">` but the `

    ` at `:54` has no `id`

  • `app/blog/[slug]/page.tsx:64` declares `<Frame id="post">` but the `

    ` at `:75` has no `id`

Screen readers will announce each section as unnamed because the referenced id doesn't exist in the DOM.

Fix

```diff

  • Blog

  • Blog

```

```diff

  • {post.title}

  • {post.title}

```

Found during PR review of #61.

Activity

  1. added a commit that references this issue on May 11, 2026
    c779033
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions