Skip to content

Conversation

@AtsushiM
Copy link
Member

関連URL

概要

変更内容

確認方法

@pkg-pr-new
Copy link

pkg-pr-new bot commented Sep 30, 2025

Open in StackBlitz

npm i https://pkg.pr.new/kufu/smarthr-ui@5855

commit: 30db940

@neet
Copy link
Collaborator

neet commented Sep 30, 2025

📝 これでNext.jsのroute announcerって動くんだっけ?と思ったけど試したら動いた
https://github.com/neetlab/playground-smarthr-ui-5855

2025-09-30.12.53.08.mov

ドキュメントにも記載がある。export const meta = { title: "…" } 限定ではないみたいだ(SSRはされないが)

The Next.js route announcer looks for the page name to announce by first inspecting document.title, then the <h1> element, and finally the URL pathname.
https://nextjs.org/docs/architecture/accessibility#route-announcements

@AtsushiM
Copy link
Member Author

AtsushiM commented Oct 2, 2025

  • Next.jsのためにオフにできる機能がほしい
  • h1が書き換わったことを伝えるためaria-liveも設定して良さそう
    • Next.jsにはroute-announcements機能がある
    • PRのタイミングでアクセシビリティエンジニアを巻き込んでしまえると良さそう

@yagimushi yagimushi force-pushed the feat-page-heading-auto-page-title branch 4 times, most recently from cff8bb6 to 69001db Compare October 3, 2025 07:04
@yagimushi yagimushi force-pushed the feat-page-heading-auto-page-title branch from 69001db to 30db940 Compare October 5, 2025 23:04
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.

3 participants