Web 品質-可読性
フォントと色を適切に使うことで、サイトが読みやすくなります。
色のコントラストに注意
視力が弱い人や性能の低いディスプレイには、黒地に白文字または白地に黒文字が最適です。
明るい背景の上にあるグレーの文字は、コントラストが非常に悪い:
| Grey text on a white background (#EEEEEE) |
| Grey text on a white background (#CCCCCC) |
| Grey text on a white background (#AAAAAA) |
| Grey text on a white background (#888888) |
| Grey text on a white background (#666666) |
| Grey text on a white background (#444444) |
| Grey text on a white background (#222222) |
| Grey text on a white background (#111111) |
暗い背景の上にあるグレーの文字も、コントラストは同様に悪い:
| Grey text on a black background (#222222) |
| Grey text on a black background (#444444) |
| Grey text on a black background (#666666) |
| Grey text on a black background (#888888) |
| Grey text on a black background (#AAAAAA) |
| Grey text on a black background (#CCCCCC) |
| Grey text on a black background (#DDDDDD) |
| Grey text on a black background (#EEEEEE) |
特定の組み合わせ(例:黒と赤、黒と青、黄と緑)は、視覚的な疲れを引き起こす:
| Black text on a red background |
| Black text on a blue background |
| Yellow text on a green background |
これらの組み合わせは悪くない:
| Black text on a grey background |
| Black text on a light blue |
| Black text on antique white |
| White text on dark blue |
文字の間隔に注意
視力の弱い読者にとって、文字間隔が狭いとかなり読みづらくなります。
文字間隔が適度なテキストは読みやすくなります。
文字間隔が少ない文字は読みにくい。
行間に注意
以下の行間は読みやすい良好な行間を持つテキスト
より読みやすい
行間が小さいテキスト
読みにくい
派手なフォントを避ける
このフォントは読みやすい....
このフォントは読みにくい....
斜体はできるだけ使わない
通常のフォントは読みやすい。
斜体のフォントはそれほど読みやすくない。
その他の拡張