Tree testing

Tree testing is a usability research method that checks whether people can find things in a website's or app's navigation. Participants get a text-only version of the menu hierarchy, the tree, with no visual design, and are asked where specific items or features would be. The results show which labels and categories work and where people go astray.

The longer version

Donna Spencer described the method in an April 2003 article for Boxes and Arrows, under the name card-based classification evaluation, and it is also known as reverse card sorting. It was first run on paper with index cards and is now run in dedicated tools. A tree test needs two things, as Page Laubheimer sets out in the Nielsen Norman Group's guide: the tree, a list of every category and subcategory down to the level that holds the items being looked for, and the tasks, short instructions telling participants what to find. Participants click a top-level category, see its children and keep going, backtracking if they need to, until they choose the place they think holds the answer. Each task starts again at the top of the tree.

Tasks are written like usability tasks, and one rule applies with more force: a task must never use the label it is testing. The Nielsen Norman Group's example is a state government site, where asking people to find information about starting a business gives away the category Starting a Business, while a short scenario about opening a lawn-care service does not. For each task the team marks the correct answers in the tree beforehand. The tool then reports success, meaning the share of participants who ended in a correct place; directness, whether they got there without backtracking, which the Nielsen Norman Group reads as a sign of how clear the labels are; the time taken; and the first category chosen. MeasuringU adds backtracking and pogo-sticking in and out of a category, and notes that the first click is highly indicative of task success.

A tree test can be qualitative or quantitative. A qualitative test, often moderated, needs only a few participants and is used early to try out ideas for a structure. A quantitative test benchmarks a structure or compares alternatives and needs many more people. MeasuringU says most of its tree tests have between 50 and 150 participants, which gives a margin of error of around 7 to 9 per cent, and that comparing trees usually needs at least twice the sample of a single study. Maze's guide gives a rule of at least 50 participants for each distinct group of users. The Nielsen Norman Group recommends starting even a quantitative study with a few moderated sessions, to check that the tasks are understood and to hear why people choose what they choose, which the click data cannot say.

Tree testing is the evaluative partner of card sorting. A card sort is generative: participants group content their own way, which suggests a structure but rarely settles one. A tree test evaluates a structure in which every category already has a name, so the usual order is a card sort to generate options and a tree test to choose between them, before any page is designed. First-click testing puts back the visual layer a tree test removes, by showing the designed page, and records only the first click. The method's limits come from the same stripping away. The Nielsen Norman Group points out that a text tree behaves differently from a mega menu that shows several levels at once, and that most tools accept only the lowest level of the tree as an answer, while a real site's category pages are often destinations in their own right. Once the structure is built, the places where people still get lost on the live navigation are findings to report against the page like any other bug.

Common questions

What is tree testing in UX?

Tree testing is a UX research method for evaluating a site's or app's navigation structure on its own. Participants see only a text version of the menu hierarchy and are asked to find where particular items would be. Removing the visual design and the search box isolates the labels and the grouping, so the results show whether the structure itself helps people find things.

What is the difference between tree testing and card sorting?

Card sorting is generative: participants group and often name content cards their own way, which suggests how a structure could be organised. Tree testing is evaluative: participants look for items in a structure that is already defined and named. Teams commonly run a card sort to produce candidate structures and a tree test to see which one people can actually use.

How many participants does a tree test need?

A qualitative tree test can work with a handful of participants. For quantitative results, MeasuringU reports that most of its tree tests have 50 to 150 participants, and Maze's guide suggests at least 50 per distinct user group. Comparing two or more trees needs a larger sample than testing one, since the differences being measured can be small.

What does a tree test measure?

A tree test usually measures success, whether participants ended in a correct place; directness, whether they got there without backtracking; the time each task took; and the first category they chose. Many tools also record the full path, so a team can see which wrong category drew people in and where they turned back.

How do you write tasks for a tree test?

Write each task as a short scenario that tells participants what to find without using the words of the label being tested. The Nielsen Norman Group warns against both giving the answer away and burying the goal in a long story. Mark the correct answer, or answers, in the tree before the test, and open with an easy warm-up task.

When should a team run a tree test?

Run a tree test at the start of a redesign, to benchmark the current navigation, after a card sort, to check the structure it suggested, and before any layouts or content are produced, when changing a category costs only an edit to a spreadsheet. Running one again after a change shows whether the new structure is easier to use.

Bug reports that arrive ready to triage.

Collect replay, console, network and browser context with the Free plan.

<script src="…/widget.js" data-key="pb_pub_…">