Placeholderはラベルではない
消えてしまうヒントが実際のユーザーに通用しない理由を学びます。
「Placeholderはラベルではない」はCoddyKit上の無料Web Accessibility Academyレッスンです。 これはレッスン2/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応のAIチューターでハンズオン演習できます。 これはWeb Accessibility Academy学習パスの一部であり、ウェブとCoddyKitアプリ全体で進捗が同期されます。 Web Accessibility Academyコースには全4レッスンが含まれています。
このレッスンの一部はまだ翻訳されておらず、英語で表示されています。
The Tempting Shortcut
It is tempting to drop hint text in a field and skip the label. But a placeholder is a hint, not a name. ⚠️
It Disappears
The moment someone starts typing, the placeholder vanishes. Now there is nothing left to say what the field was for.
<input type="text" placeholder="Full name">Memory Burden
Users with memory or attention challenges have to remember the hint after it is gone. A persistent label removes that load.
Low Contrast by Default
Placeholder text is usually light gray, which often fails contrast rules. Low-vision users may not read it at all.
Looks Filled In
Gray hint text can read as an already-filled value. People skip the field, then a required error surprises them.
Inconsistent for Screen Readers
Screen reader support for placeholder as a name is patchy and varies by browser. You cannot rely on it being announced.
Use Both, Not Either
Placeholders are fine as extra hints, like a format example. Pair them with a real label, never use them alone.
<label for="phone">Phone</label>
<input id="phone" placeholder="555-0100">Format Examples Shine Here
A placeholder is great for a format example like a date pattern. The label still carries the field's actual name.
Floating Labels
Floating labels slide up when you type, keeping the name visible. They are a real label, just animated, so they pass.
Test by Filling It
Quick check: type into the field. If you can no longer tell what it wants, the placeholder was doing a label's job.
WCAG Backs This Up
WCAG's Labels or Instructions criterion expects a clear, persistent name. Placeholder-only fields routinely fail audits.
Quick Check
Why is a placeholder a poor replacement for a label?
Recap
A placeholder is a fading hint, not a name. Keep a real label and use placeholders only for extra format help. 💡
よくある質問
「Placeholderはラベルではない」レッスンは無料ですか?
はい。「Placeholderはラベルではない」の完全なテキストはこのウェブで無料で読めます。インタラクティブに演習し(組み込みコードエディタと24時間対応のAIチューター)、Web Accessibility Academyコースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 Web Accessibility Academyコースには全4レッスンが含まれています。
「Placeholderはラベルではない」で何を学びますか?
消えてしまうヒントが実際のユーザーに通用しない理由を学びます。 ブラウザで直接実行するハンズオンコードでWeb Accessibility Academyを演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。
Web Accessibility Academyを始めるのに経験は必要ですか?
事前経験は必要ありません。CoddyKitのWeb Accessibility Academyは初級者から上級者向けに構成されているため、ここから始めるか最初から始めて、自分のペースで進むことができます。 これはレッスン2/4です。
「Placeholderはラベルではない」レッスンにはどのくらい時間がかかりますか?
ほとんどのCoddyKitレッスンは約5~10分かかります。各レッスンはコンパクトでインタラクティブなので、着実に進歩し、ウェブとアプリ全体で正確に前回の場所から再開できます。
このWeb Accessibility Academyレッスンでコードを書いて実行できますか?
はい。すべてのWeb Accessibility Academyレッスンに組み込みコードエディタが含まれているため、ブラウザでリアルコードを書いて実行し、即座のAIフィードバックを取得できます。ローカル設定は不要です。
このコースのすべてのレッスン
- すべての入力欄に本物のlabelを付ける
- Placeholderはラベルではない
- fieldsetとlegendでフィールドをグループ化する
- ヘルプテキストと必須フィールドを読み上げさせる