chore(starter): 不要コメント整理 + docs/ AR 作業履歴削除(公開ノイズ排除)#192
Merged
Conversation
8+6 ルールに従い、スターターリポの公開コードから書籍・spec 領域のコメントを排除。 削除 (D6 Block 役割説明): - c-skip-link.css: DEVIATION コメントに付記されていた「アクセシビリティ対応のスキップリンク。...」2 行 - c-overlay.css: 「汎用オーバーレイ。ドロワー・モーダル・ライトボックス等で再利用可能。」1 行 - c-back-to-top.css: 「ページ上部へ戻る機能を持つ、...」1 行 短縮 (D5 WCAG 基準番号): - c-form.css L14: 「WCAG 3.3.2 Labels or Instructions」を除去 - c-form.css L59: 「WCAG 2.4.11 AA」を除去 短縮 (内部番号参照 / D6 部分除去): - p-hero.css: 「原則 9 の明示理由付き例外」等の内部 memory 参照を除去、技術的 WHY のみ 1 行に圧縮 - p-problem.css: 「装飾は c-card.-subtle、タイポの縦積みは c-text-block が担当」を除去、他の空ルール placeholder と形式を統一 - main.js JSDoc: 「LCP 要素の FOIC 防止に使用」を「ファーストビュー要素のアニメーション遅延防止に使用」に短縮(D5) スコープ B: - docs/ar-2026-04-30-v12-finishing.md を git rm(cortex/sessions/2026-04-30.md に AR 結果記録済、テンプレートリポでは公開ノイズ) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Deploying starter with
|
| Latest commit: |
88b08dd
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://edd88b07.starter-20t.pages.dev |
| Branch Preview URL: | https://chore-v1-2-comment-audit-202.starter-20t.pages.dev |
This was referenced Apr 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目的
starter v1.2 リファレンス実装としての規範性を v1.0 公開リリース前に確保する。コードコメントから書籍・spec 領域の内容を排除し、starter 固有情報のみを残す。
走査スコープ
全 HTML / CSS / JS(
src/配下)+docs/削除結果サマリ
削除カテゴリ別内訳
D6 Block 役割説明(DEVIATION コメントへの付記)
c-skip-link.cssc-overlay.cssc-back-to-top.cssD5 WCAG 基準番号(短縮)
c-form.cssL14/* Element: note — フォーム冒頭の必須マーク説明(WCAG 3.3.2 Labels or Instructions) *//* Element: note — フォーム冒頭の必須マーク説明 */c-form.cssL59/* Foundation の :where(:focus-visible) outline リングを温存(WCAG 2.4.11 AA) *//* Foundation の :focus-visible outline リングを温存 */内部番号参照除去 / D6 部分除去(短縮)
p-hero.css/* l-inner p-hero__inner 併記により .p-hero の grid 直接子になったため grid-area を宣言 */p-problem.css/* スタイルなし(HTML クラスとの対応を維持。c-card.-subtle + c-text-block の Block+Element 併記) */main.jsJSDocスコープ B: docs/ 削除
docs/ar-2026-04-30-v12-finishing.mdをgit rmHTML コメント
全 CUSTOMIZE / 構造セクションラベル / NOTE で 8 ルール準拠。削除対象なし。
CSS コメント(残した判断)
[data-visible]は JS 付与の説明(c-back-to-top.css): Rule 5 → 残す<a>説明(Reset unset 対策): Rule 8 → 残す検証
pnpm run check(stylelint / markuplint / eslint): ✅ 通過pnpm run build: ✅ 成功(built in 69ms)