Zebra striping—also known as candy striping or half-shadow—is the application of faint shading to alternate lines or rows in data tables or forms. Examples of websites that use zebra striping include the currency site XE, the CIA World Factbook, and Monster.com. Zebra striping on the web is actually a carryover from print days: one of the first mentions of the technique appeared in 1961 [1].
Article Continues Below
Many believe that zebra stripes aid the reader by guiding the eye along the row. However, despite being in use in both paper and electronic mediums for almost half a century, there is practically no evidence that it actually assists users in this way. In June and July 2007, I conducted an extensive review of sources such as the International Association of Paper Historians, the Business and Forms Management Association, and the IEEE Annals of the History of Computing, but found absolutely no information on the origins of or rationale behind zebra striping.
Yet applying zebra striping in an electronic medium is a nontrivial task. A List Apart is just one publisher of an article about how to do zebra striping. As web designers, we certainly cannot afford to be spending time coding an approach that isn’t actually helpful! So, I decided to conduct a study to see whether zebra striping really does make things easier.
Measuring “easier”#section2
Zebra striping is used when data is presented in an essentially tabular form. The user of that table will be looking for one or more data points. Their aim is to get the right points and get them as quickly as possible. Therefore, if we set a task that uses a table, and zebra striping does make things easier, then we would expect to see improvements in two things: accuracy and speed.
I designed an experiment whereby participants were given data in a tabular form and asked to use that data to answer six questions. Three of the questions were asked when the table had zebra striping (i.e., was “striped”) and three of the questions were asked when the table did not have zebra striping (i.e., was “plain”).
The questions asked when the table was striped paralleled the questions asked when the table was plain. That is, questions were “paired” so that for each question there was a striped version and a plain version. This enabled us to measure the impact of zebra striping.
Participants were randomly assigned to which format they received first, striped or plain, to remove any order effects. The experiment was described only as “a study of table formatting.” The experiment was conducted via the internet, which, while having its problems, was efficient and cost effective. Two weeks of experimentation yielded usable data from 244 people.
The data table, shown below, had 15 rows (including a heading row) and nine columns. It contained artificial data, which was loosely based on common descriptors for screws. As an example, one of the questions was “is the screw with minor diameter tolerance of 6g available at the factory outlet?”
Zebra striped data table, with 15 rows (including a heading row) and nine columns.
The aim was to construct a table that:
- was large enough to provide a cognitive challenge for participants,
- was not so large as to require scrolling—either horizontally or vertically—in the majority of cases,
- contained data that was not particularly familiar to participants, reducing the chance that they would just “know” the answer without having to use the table, and
- included data in a number of different forms, including numeric and alphabetic, names, symbols, prices and quantities.
Other than the presence or absence of zebra striping, there were no changes made to the table during the experiment.
Note: There’s lots of statistics behind these results that I won’t bore you with, but you can download the full-length, peer-reviewed paper (PDF, 320K).
Accuracy#section5
Even though I tried to make the task a little difficult, participants got most of the answers right—the error rate on all questions was 12% or less.
Questions that had particularly low errors rates—e.g., question one with an error rate of 2%—were excluded from the remainder of the analysis, because the findings they yielded would be unreliable. This left one pair of parallel questions: question three and question six. As the graph below shows, there was essentially no difference in accuracy between the striped-table and plain-table versions of these questions.
Graph indicating difference in accuracy between the striped and plain table versions of the questions.
Further analysis of these data showed that indeed there were no statistically significant difference in accuracy between striped answers and plain answers.
Speed#section6
Even if there were no improvement in accuracy, an improvement in speed would be beneficial.
As the chart below shows, the average observed time taken to answer questions one and two was greater when the table was zebra striped, but for the remaining four questions, the time taken was less when the table was zebra striped (see Table 5 in the peer-reviewed paper). However, only the difference in time taken for question six was statistically significant, meaning we can’t be sure that the other differences weren’t down to the particular sample we ended up with.
Graph indicating difference in time taken to answer questions between the striped and plain table versions.
Preference#section7
At the end of the six questions that referred to the data table, participants were asked for their personal preference with regard to zebra striping.
Overall, the greatest proportion of participants preferred zebra striping (46%), but a significant portion had no preference at all (33%).
So there’s no point in zebra striping?#section8
This experiment yielded no evidence that zebra striping consistently improves the accuracy or speed of tasks. This would seem to suggest that we shouldn’t bother with zebra striping anymore.
However, there are a few arguments against tossing zebra striping out altogether.
Firstly, in this study there was a subjective preference for striped tables over plain. My reading and discussions with others suggest a number of people find zebra-striped tables more aesthetically pleasing. If many users like zebra striping (and another large group aren’t fussed either way), then why not apply it?
Secondly, this was just one experiment, with one dataset. It is possible that the particular design of this experiment meant that zebra striping had little effect. In other cases, particularly when there is considerable space between columns and/or the user is required to scroll horizontally, a more pronounced effect may have been observed.
Finally, and perhaps most interestingly, a number of participants in the study spontaneously reported using their finger, on or over the computer screen, to follow down columns and across rows. Other participants used their mouse to highlight rows of interest. These people were, in effect, creating their own “temporary” zebra striping. So we may be reducing the burden on our users if we do the zebra striping for them.
The decision is yours#section9
Unfortunately, this study hasn’t given us a clear answer about whether or not to continue applying zebra stripes to tabular data. However, it didn’t give any indication that zebra striping makes things worse, and we do know that it is liked by a number of users, so it certainly doesn’t seem to cause much harm.
At the end of the day, the decision about whether to use zebra striping probably comes down to a subjective assessment of likely gains versus the cost of implementation.
Participate in the follow-up study#section10
Formulate is currently conducting a follow-up study to help address some of the questions that arose from the research described in this article. The study takes less than five minutes. Many participants are needed to achieve valid results.
To do the study, visit http://surveys.formulate.com.au/dtfu/. To learn more, read about the study.
References#section11
[1] Advert for Philip Hano Company Inc. appearing in Sadauskas, W.B., Manual of Business Forms. Office Publications Inc., New York, 1967, 187.