mime-type
vmain
io.github.thedaviddias/Front-End-Checklist/mime-type
Use when auditing server configuration or diagnosing broken resources. Applies to any web server serving HTML, CSS, JS, images, fonts, or other static assets.
“GitHub Copilot” 共 5,813 个结果
vmain
io.github.thedaviddias/Front-End-Checklist/mime-type
Use when auditing server configuration or diagnosing broken resources. Applies to any web server serving HTML, CSS, JS, images, fonts, or other static assets.
vmain
io.github.thedaviddias/Front-End-Checklist/logical-properties
Use when reviewing stylesheets, component styles, and responsive behavior related to Use CSS logical properties for i18n and RTL support. Check the rendered layout across breakpoints and interaction states before proposing a fix.
vmain
io.github.thedaviddias/Front-End-Checklist/listitem
Use when applies to HTML documents with `<li>` elements. Also applies to custom ARIA lists where `role='listitem'` must be owned by `role='list'`. Common violations occur in templating systems where list markup is split across components or in CSS resets where developers use `<li>` for layout without proper list parents.
vmain
io.github.thedaviddias/Front-End-Checklist/horizontal-scroll
Use when applies to all CSS layout rules. Check `width`, `min-width`, fixed pixel values on containers, `overflow`, `white-space`, and `word-break` properties. Use when auditing responsive design or WCAG 2.1 Level AA compliance. Test at 320px viewport width and at 400% browser zoom.
vmain
io.github.thedaviddias/Front-End-Checklist/text-expansion
Use when reviewing CSS for fixed dimensions, truncation, or overflow rules on elements that render translatable strings.
vmain
io.github.thedaviddias/Front-End-Checklist/interstitials
Use when applies to CSS and JavaScript implementations of modals, overlays, pop-ups, cookie banners, newsletter sign-up dialogs, and promotional overlays. Check for `position: fixed`, `position: absolute` with large z-index, backdrop overlays, and JavaScript that shows modals on page load or shortly after. Consider both SEO impact (Google) and accessibility (WCAG focus management).
vmain
io.github.thedaviddias/Front-End-Checklist/cascade-layers
Use when reviewing a CSS architecture for specificity issues, setting up a design system, or migrating a large codebase from utility-first to a layered architecture.
vmain
io.github.thedaviddias/Front-End-Checklist/embedded-or-inline-css
Use when reviewing stylesheets, component styles, and responsive behavior related to Avoid embedded and inline CSS. Check the rendered layout across breakpoints and interaction states before proposing a fix.
vmain
io.github.thedaviddias/Front-End-Checklist/dark-mode-css
Use when reviewing stylesheets, component styles, and responsive behavior related to Support dark mode with prefers-color-scheme. Check the rendered layout across breakpoints and interaction states before proposing a fix.
vmain
io.github.thedaviddias/Front-End-Checklist/content-without-css
Use when reviewing rendered HTML, layout components, or design-system patterns that may depend on presentation for meaning. Check the DOM order, semantic structure, form relationships, and whether CSS generated content carries essential information.
vmain
io.github.thedaviddias/Front-End-Checklist/unused-css
Use when reviewing stylesheets, component styles, and responsive behavior related to Remove unused CSS rules. Check the rendered layout across breakpoints and interaction states before proposing a fix.
vmain
io.github.thedaviddias/Front-End-Checklist/reset-css
Use when reviewing stylesheets, component styles, and responsive behavior related to Use a CSS reset or normalize stylesheet. Check the rendered layout across breakpoints and interaction states before proposing a fix.
vmain
io.github.thedaviddias/Front-End-Checklist/viewport-zoom
Use when applies to any `<meta name='viewport'>` element in HTML documents. Check the `content` attribute for `user-scalable=no`, `user-scalable=0`, `maximum-scale=1`, or `maximum-scale` values less than 2. This is a common mistake in mobile-first templates and CSS frameworks.
vmain
io.github.thedaviddias/Front-End-Checklist/font-size
Use when applies to all CSS `font-size` declarations, particularly those using `px` units for body text, UI labels, and navigation. Use when auditing mobile responsiveness and accessibility compliance. Check for `font-size` in media queries targeting small screens.
vmain
io.github.thedaviddias/Front-End-Checklist/orientation
Use when reviewing mobile-first layouts, tablet experiences, fullscreen flows, forms, dashboards, or media interfaces. Check rendered behavior in both portrait and landscape and separate genuine layout constraints from unnecessary orientation assumptions.
vmain
io.github.thedaviddias/Front-End-Checklist/contract-testing
Use when setting up integration testing for a frontend-backend API boundary, evaluating whether two services are safe to deploy independently, or replacing slow end-to-end tests with contract tests.
vmain
io.github.thedaviddias/Front-End-Checklist/no-unchecked-indexed-access
Use when auditing tsconfig.json for missing safety flags, reviewing code that uses array index access in data processing pipelines, or investigating runtime undefined errors that TypeScript did not catch.
vmain
io.github.thedaviddias/Front-End-Checklist/type-only-imports
Use when auditing import statements in TypeScript files, setting up a new TypeScript project, or investigating unexpected bundle inclusions from type-only dependencies.
vmain
io.github.thedaviddias/Front-End-Checklist/no-explicit-any
Use when reviewing TypeScript files for type safety regressions, during code review of functions that handle external data, or when the codebase has ESLint warnings for @typescript-eslint/no-explicit-any.
vmain
io.github.thedaviddias/Front-End-Checklist/doctype
Use when applies to all HTML documents. Always check the very first line of the raw HTML source (view-source: or DevTools > Network > Response). In SSR frameworks, check the root HTML template (e.g., _document.tsx in Next.js, index.html in Vite/Vue, application.html.erb in Rails). The doctype is not a tag — it is a declaration and does not need a closing tag.
vmain
io.github.thedaviddias/Front-End-Checklist/streaming-html
Use when reviewing server-side rendering setup, Next.js App Router pages, or Node.js HTTP handlers to verify that HTML is streamed incrementally rather than buffered until completion.
vmain
io.github.thedaviddias/Front-End-Checklist/code-splitting
Use when reviewing large SPA bundles, new dependency additions, or routes that feel slow to hydrate. Focus on code that is not required for the initial view and can move behind route transitions, user interaction, or viewport-based loading.
vmain
io.github.thedaviddias/Front-End-Checklist/browser-caching
Use when auditing slow page loads, heavy assets, or rendering delays related to Enable browser caching. Verify the actual bottleneck in DevTools, Lighthouse, or field data before recommending changes.
vmain
io.github.thedaviddias/Front-End-Checklist/browser-required
Use when auditing slow page loads, heavy assets, or rendering delays related to Perform browser-based performance audits. Verify the actual bottleneck in DevTools, Lighthouse, or field data before recommending changes.