simplify blog homepage - #22
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e9c9bf534e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| <p>知识并不生长在孤岛上。技术、故事和生活经验,总会在某处彼此照亮。</p> | ||
| </header> | ||
|
|
||
| <section class="category-section wrap" aria-label="文章分类"> |
There was a problem hiding this comment.
Retain a level-one heading on the homepage
Removing both the hero and category headers leaves the rendered homepage with no <h1> at all, and its first headings are the category-card <h3> elements before the later <h2>. For users navigating by screen-reader heading shortcuts, this produces an incomplete and out-of-order document outline; the section's aria-label names the region but does not provide a page-level heading. Keep a concise heading, potentially visually hidden, and re-level the category headings beneath it.
Useful? React with 👍 / 👎.
What changed
Why
The removed sections are decorative and not needed for the blog's primary reading workflow.
Validation
index.htmlgit diff --checkpasses