协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
Website【开发与工程】Build fast, accessible, and SEO-friendly websites with modern best practices.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
<head>, defer the restasync or defer, audit regularlyfont-display: swap and preload critical fontsmin-width media queries — easier to scale up than strip downviewport meta tag is required: <meta name="viewport" content="width=device-width, initial-scale=1"><img> needs alt text — empty alt="" for decorative images, descriptive text for meaningful ones<label> elements — placeholders alone are not accessible<h1> per page only — it's the page title, not a styling tool<nav>, <main>, <article>, <aside>, <footer> — they communicate structure to browsers and assistive tech<button> for actions, <a> for navigation — don't use divs with click handlersrel="noopener" — prevents security vulnerability with target="_blank"!important — it breaks cascade and makes debugging painful. Fix specificity insteadrem, em, %) over fixed px for text — respects user font size preferences<html lang="en"> breaks screen reader pronunciationhttp:// links break on HTTPS sites — use protocol-relative // or always https://@media print for pages users might print (receipts, articles)