Label Left Align followed by Input Field

Posted: June 7, 2009 at 22:20:27 by Dani Iswara. Words count: 523.
Last updated: June 18, 2009 at 15:33:54.

Left or right aligned label? Where is the most usable position for the label in input form? We have 3 options, e.g.:
  1. Label on the left. It may be left or right aligned (helped by CSS). We may find it on Blogspot classic and Joomla's default template.
    <label for="author"><strong>Name</strong> (required):</label>
    <input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" />
  2. Label on the right, left-aligned. Most common on WordPress themes.
    <input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" />
    <label for="author"><strong>Name</strong> (required):</label>
  3. Label on the above. More common on Blogspot-XML template and Drupal-based sites.
    <label for="author"><strong>Name</strong> (required):</label><br />
    <input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" />
See sample image after a jump.
Several label positions on comment form. click to enlarge.

Figure 1. From top to bottom: a) left label with left-aligned, b) left label with right-aligned, c) right label with left-aligned, and d) label on the above (yes, that is mine).

The next list will be based on these sources: I will not talk about the quality of their experiments, researches, surveys, or test results. It is just some of their recommendations or best practices. Related to blog comment forms, I made several conclusions based on their results and my opinions:
  1. Simple vertical

    The usual eyetracking is from top to bottom. It is more easier to fill out a simple vertical flow. It does not make eyes to work too hard. Except we have a very limited space.

  2. Left aligned

    Related to the left-to-right-direction reading culture. I also think left-aligned label (see Figure 1: sample a, c, and d) will be more easier to read. Almost similar with the Avoid Justified Texts (in bahasa Indonesia).

  3. Label on the left

    It has a relationship with the flow and accessibility. Just like my previous post, Hearing Web Page (in bahasa Indonesia). Label, on the left (Figure 1: sample a, b, and d), will be heard first, followed by input field. They also said, better if label placed right-aligned close to its input (Figure 1: number b).

  4. Label above input field

    Placing label above input field (Figure 1: sample d) also correct based on their recommendation. It has simple vertical rule also. Be careful with the spacing of its previous input field.

  5. Bold label

    Some of their results said bold --strong semantically-- label is difficult to read. Other say, the emphasis (Figure 1: sample d) will help difable (differently-abled) users. I do agree if emphasis is used on required field only.

Actually, I have my own opinion related to blog comment form. Check it on Usability of Comment Form Design. I know, my blog comment form is not perfect. :) Refer to Positioning labels to maximize predictability of relationships (Techniques for WCAG 2.0):
...Labels for most fields are positioned immediately before the field, that is, for left-to-right languages, either to the left of the field or above it, and for right-to-left languages%2
Just unessential weblog
Dani Iswara, mail me: [myfirstnamelastname]@gmail.com.

You are free to share (copy, distribute, transmit) & adapt this blog post under the similar license (Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported; CCA-NC-SA 3.0 Unported). Please put these links on your copy:
Taken from: Label Left Align followed by Input Field by Dani Iswara.

Unimportant Related/Random Posts

You may also read list of most popular posts and most popular tags of Dani Iswara .Net.

9 Responses to post titled: Label Left Align followed by Input Field

  1. Comment by nomercy on June 18, 2009 at 03:46:30
    using Firefox 3.0.11 on Linux Mint 7

    terus terang mas Dani, secara rasa pribadi memang saya lebih menyukai bentuk seperti 1.d atau di form komen blog ini ... secara urutan dan kebiasaan ... coba kita ingat kalau mengisi suatu formulir, entah itu form setoran di bank, pajak, atau formulir lainnya ... rasanya semua selalu meletakkan label di atas (rata kiri) dan input isiannya ada di bawah ...
    saya belum pernah menemukan bentuk form lain dalam kehidupan sehari-hari *pengalaman saya sih*

    dan ini juga mungkin berlaku untuk diterapkan pada form pengisian komentar ... entahlah, apakah karena kebiasaan ataukah memang berpengaruh terhadap penglihatan ... yang jelas saya lebih suka bentuk seperti di form komen ini (nanti saya juga terapkan di blog saya)

  2. Comment by Dani Iswara on June 18, 2009 at 08:32:43
    using Firefox 3.0.11 on Gentoo

    nomercy,
    makasi, pak. mungkin usable-nya terinspirasi dari form offline itu.

    untuk yang model vertikal, kerugiannya, jadi butuh panjang halaman yang lebih.

    tapi entah mengapa, wordpress umumnya memakai model c.

  3. Comment by rismaka on June 18, 2009 at 09:11:17
    using Firefox 3.0.1 on Windows XP

    Wordpress sepertinya lebih melihat kepada kerapian..CMIIW.

    Saya sendiri lebih suka model b untuk kebergunaannya, tapi lebih condong ke model c dg alasan lebih rapi :)

  4. Comment by Cahya on June 18, 2009 at 10:53:24
    using Firefox 3.0.11 on SuSE

    Kalau saya pilih yang C (punya-nya wordpress), D oke juga, tapi kan nama depan saya pakai insial "C"..., ha ha..., bukan "D" seperti di blog ini :D

  5. Comment by dani on June 18, 2009 at 12:09:53
    using Internet Explorer 7.0 on Windows XP

    rismaka,
    yang b scanning-nya agak sulit. jadi ini hanya salah satu kekurangakuran aksesibilitas dan usability.

  6. Comment by Dani Iswara on June 18, 2009 at 13:12:27
    using Firefox 3.0.11 on Gentoo

    Cahya,
    blogspot kayaknya lebih mengedepankan usability dibanding aksesibilitas. coba blogspot juga make c. :P

  7. Comment by basuki sutjijanto on June 19, 2009 at 09:31:32
    using Firefox 3.5 on Windows XP

    saya milih C.... mungkin karena saya pake wordpress...

Trackbacks/Pingbacks

  1. Pingback by Pertanyaan seputar Desain Weblog - Dani Iswara .Net on October 2, 2009 at 00:29:53
    WordPress abc

    [...] Karena alirannya sepertinya lebih nyaman dan logis demikian. Pun bagi pengguna screen readers dan voice browsers. Bisa dibaca di Label Left Align Input Form. [...]

  2. Pingback by Tinjauan Blog RudyAzhar.com - Unessential Side - Tidak Penting on September 1, 2010 at 23:06:05
    WordPress abc

    [...] dan logis jika label terbaca lebih dulu oleh pembaca layar komputer. Pernah saya tulis di ‘Label left align followed by input field‘ (Dani Iswara [...]

Sorry, for some reasons (sometimes due to sp*ms attack), the comment form is closed at this time. If You have any suggestions, please contact me. Thank you.

Dani Iswara .Net

Return to TOP
›› Older entries: Mendengar Halaman Web
‹‹ Newer entries: Pemelajaran Rekam Medis Elektronik Open Source