本文へスキップ
Skillpedia
WebサイトとUI(フロントエンド)75k · #2786

content-without-css

できること

このスキルは、スタイルが取り除かれたり、利用者自身のスタイルに置き換えられたりしても、ページが意味を成すかを確認します。すべての人にとって機能するコンテンツにしたいデザイナーや開発者向けです。

使う場面

  • ✓次に何が来るかを、レイアウト上の位置で示しているレイアウトがあるとき。
  • ✓ラベルやエラーメッセージが、装飾的なスタイルだけで表示されているとき。
  • ✓フォームや手順が、CSSのおかげでしか分かりやすく見えないとき。

スキルのリンク

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/content-without-css/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/content-without-css/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のサインアップページのスタイルをオフにし、ラベル、手順、エラーがまだ意味を成すか確認してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、ページの意味構造、読み上げの順序、ラベルを確認し、重要な指示をスタイルの工夫ではなく、実際のテキストに移します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Ensure content remains usable without CSS

Users can browse with custom styles, high contrast modes, reader tools, or failed stylesheets. If the page only makes sense visually, content order, instructions, and task flow break as soon as presentation changes.

Quick Reference

  • Use semantic HTML so headings, lists, and form relationships survive without CSS
  • Keep DOM order aligned with the reading and task-completion order
  • Do not put essential labels, instructions, or required markers in CSS generated content
  • Test key journeys with author styles disabled or overridden by user styles

Check

Find pages or components that rely on CSS for meaning. Verify the page still has a logical reading order, visible labels, instructions, error text, and operable primary actions when author styles are disabled or replaced by user styles.

Fix

Use semantic HTML and DOM order to preserve headings, lists, labels, field groups, helper text, and error messaging without relying on CSS positioning, pseudo-elements, or visual-only cues.

Explain

Explain why semantic HTML and meaningful DOM order let content remain understandable when CSS fails to load or users apply their own styles.

Code Review

Review templates, rendered HTML, and component markup related to Ensure content remains usable without CSS. Flag where meaning, reading order, labels, instructions, or task flow depend on CSS rather than semantics, and note how to verify the fix with styles disabled.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/accessibility/content-without-css

よくある質問

ページのCSSが失われるのは、なぜですか?

一部の利用者は独自のスタイルやハイコントラストのモードを適用しますし、スタイルシートが読み込めないこともあると、このスキルは説明しています。

CSSに頼るべきでないものは何ですか?

重要なラベル、指示、必須の印、エラーのテキストです。

HTMLの順序は重要ですか?

はい。HTMLの順序は、読む順序や作業の順序と一致すべきだと、このスキルは説明しています。

詳細

作者による元の説明

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.

repo: thedaviddias/Front-End-Checklist

人気

GitHubのスター
75k
ランキング
#2786
ライセンス
MIT
更新日
2026/10/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル