← 返回
开发者工具

Website

Build fast, accessible, and SEO-friendly websites with modern best practices.
运用现代最佳实践,构建快速、无障碍且SEO友好的网站。
ivangdavila
开发者工具 clawhub v1.0.0 1 版本 99147.6 Key: 无需
★ 11
Stars
📥 4,898
下载
💾 297
安装
1
版本
#latest

概述

Website Development Rules

Performance

  • Images are the #1 cause of slow sites — use WebP/AVIF, lazy-load below-the-fold, and set explicit width/height to prevent layout shift
  • Render-blocking CSS delays first paint — inline critical CSS in , defer the rest
  • Third-party scripts (analytics, chat widgets) often add 500ms+ — load them with async or defer, audit regularly
  • Fonts cause invisible text flash (FOIT) — use font-display: swap and preload critical fonts
  • Measure with Lighthouse in incognito mode — extensions skew results

Mobile First

  • Start CSS with mobile styles, add complexity with min-width media queries — easier to scale up than strip down
  • Touch targets need 44x44px minimum — fingers are imprecise, small buttons frustrate users
  • Test on real devices, not just browser DevTools — throttling simulation misses real-world jank
  • Horizontal scroll is a critical bug — test every page at 320px width minimum
  • viewport meta tag is required:

Accessibility

  • Every needs alt text — empty alt="" for decorative images, descriptive text for meaningful ones
  • Color contrast ratio 4.5:1 minimum for body text — use WebAIM contrast checker
  • Form inputs must have associated elements — placeholders alone are not accessible
  • Keyboard navigation must work — test every interactive element with Tab key
  • Screen readers announce heading hierarchy — use H1-H6 in logical order, never skip levels

HTML Structure

CSS Patterns

Common Mistakes

Before Launch

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 11:12 安全 安全

🔗 相关推荐

developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 920 📥 185,727
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,349 📥 317,697
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 65 📥 179,843