Your Training Partner
Techniques Toolbox
A search task on the left, a three-level tree in the centre and three drawn paths. Eleven participants go straight to the correct leaf. Five reach it after backtracking. Three go straight to a wrong leaf. One participant gives up. On the right, three bars give 80% success, 55% directness and 15% direct failures for twenty participants.

Tree Testing

Tree testing evaluates an information architecture. Participants receive search tasks such as "where would you find the price of the annual subscription?". They work level by level through a text-only version of the hierarchy of a site or an application and point to where they expect to find the answer. Search, visual design and page content are absent. The test therefore measures the labels and the grouping alone. The share of participants who reach the right place and the share who get there without backtracking tell whether the tree guides its users. Donna Spencer described the method in 2003 as card-based classification evaluation. It is also called reverse card sorting.

Goal

A tree test checks that users find what they are looking for by following the labels of a category hierarchy. The team counts who finds it, by which path and where the others go wrong.

The test supports the decision to keep or replace an existing tree, to choose between several candidates or to correct a specific label or placement. The deliverable is a table of success and directness rates per task. First clicks and paths then point to the nodes where participants go wrong.

Tree testing and card sorting

The Nielsen Norman Group notes that a card sort does not usually produce the exact structure to adopt. Tree testing checks the hierarchy that the team derived from it.

What the participant receivesWhat the participant doesWhat comes out
Card sortingcontent cards in no ordergroups them and names the groupsa candidate structure and the users' vocabulary
Tree testinga complete hierarchy and taskslooks for content in the hierarchysuccess rates per task and the failing nodes
Card sorting produces groups. Tree testing checks that a given hierarchy works.

Usage

When to use it

  • Before a redesign: measure the current tree to compare it with the new one.
  • After a card sort: check that users can navigate the hierarchy drawn from the groups.
  • Several competing trees: compare them on the same tasks before building mock-ups.
  • Internal disagreement over a label: replace the departments' opinions with success rates.
  • Dispersed users: an unmoderated online test reaches dozens of participants in a few days.
  • Multilingual site: each language version has its own labels and is tested with its own panel.

When not to use it

  • Evaluating search, visual design or layout: the test removes them. Run a usability test on a prototype instead.
  • No structure proposed yet: there is nothing to browse. Start with a card sort.
  • Exploratory search with no precise target: the test only measures the search for known content. Study real use through observation.

Description

Spencer ran the test on paper. In 2009, Dave O'Brien described the online version that his team built and named Treejack.

What the test isolates

The tree reaches the participant with no search engine, no home page, no images and no supporting text. Only the labels and their nesting remain. A failure therefore points to a word or a placement. The Nielsen Norman Group flags the cost of this reduction: success rates are lower than in an ordinary usability test, since no context helps the participant. A 70% rate on a bare tree cannot be compared with the same rate measured on the live site.

Preparing the tree

The team enters the complete tree with the exact labels planned for the product: categories, subcategories and leaves. The tree describes the content rather than the layout. O'Brien asks the team to make explicit any content that a page carries without announcing it. If the "Pricing" page holds the cancellation terms, those terms become a leaf. He leaves out "Search", "Site map", "Help" and "Contact", which bypass the navigation. A participant who can answer "I'd go through Contact" for every task is no longer testing anything.

Writing the tasks

Each task asks for a specific piece of content. It is written as a scenario drawn from a real user goal: "You want to enclose your balcony with a conservatory. Where do you apply for approval?" rather than "Find the building permit". O'Brien and the Nielsen Norman Group agree on the main trap: a task that reuses a word from the tree gives the answer away. The participant spots the word and clicks it. The test then measures word matching and leaves the structure untested. The team compares each task with the labels and the stems of their words. As soon as a term matches, the team rewords the task.

The team sets the correct answer to each task before the test. A task can have several when the content is reachable in two places. Tools usually restrict correct answers to leaves. The Nielsen Norman Group points out that this choice poorly models a category page that lists its subsections. In that case, we recommend that the team add an "Overview" leaf under the category to stand in for that page. It counts as a correct answer.

O'Brien recommends about ten tasks per participant: around 8 for a small tree, up to 12 for a very large one. Beyond that, the participant has learnt the tree and the test measures their memory. The tool randomises the task order for each participant. This spreads the learning across all tasks instead of concentrating it on the last ones.

The Nielsen Norman Group recommends a few moderated pilot sessions before collecting the bulk of the data. The team uses them to check that participants understand each task and that its wording does not lead them.

Recruiting participants

Participants come from the product's real users. Team members know the tree. People outside the domain search with different words from the users. Both skew the result.

Spencer worked on paper with about twenty participants. O'Brien asks for at least 30 participants per user type and prefers about a hundred. The Nielsen Norman Group asks for at least 50 participants per tree for a quantitative comparison between trees. For a numerical comparison, the team recruits different participants for each tree, since someone who has worked through the old tree has learnt the subject matter.

Running the test

Online, the participant sees the first level. They open one branch at a time and go back if they wish. They then choose a leaf with "I'd find it here" or skip the task. O'Brien allows 5 to 10 minutes for about ten tasks. On paper, Spencer numbers the hierarchy (1, 1.1, 1.1.1) and writes each level on a card that the participant reads from their seat at the table. The facilitator presents the levels one after another. The participant gives a first and a second choice. A note-taker records the numbers.

Online (O'Brien)On paper (Spencer)
Mediuma web tool that unfolds the tree level by levelone card per level with its numbering (1, 1.1, 1.1.1)
Moderationunmoderated: the participant is alone with the toola facilitator and a note-taker
Answera chosen leaf or the task skippeda first and a second choice
Session length5 to 10 minutes for about ten tasks10 to 15 minutes for 10 to 15 scenarios
Recommended panel sizeper user type: 30 at minimum, preferably about a hundredabout twenty
Recordingthe tool exports destination, first click and complete patha table: content items in rows, scenarios in columns, a capital for the first choice, a lowercase letter for the second
Online, the test reaches large panels. On paper, the team hears how the participant reasons.

In Spencer's table, a cluster of letters counts as a success only if it falls on the expected content item.

Content (X: first choice, x: second choice)Scenario A (correct answer 1.1.1)Scenario B (correct answer 1.2)Scenario C (correct answer 1.2)
1X X x
1.1X X X X X
1.1.1X X X X X XX x
1.2xX X x
2xX X x
The capitals of scenario A cluster on the correct answer: the content is found. Those of scenario B cluster on 1.1: a label misleads the participants. The letters of scenario C scatter over three rows: the task has no obvious answer.

After an online test, the Nielsen Norman Group adds a short questionnaire. It presents the list of labels and asks the participant to tick those they found hard to understand. An open question then collects their comments.

Reading the results

The Nielsen Norman Group reads two measures first. The success rate is the share of participants who end on a correct answer. Directness is the share of participants who go to the correct answer without backtracking. Some tools such as Optimal Workshop also count paths that go straight to a wrong answer in their directness rate. Before comparing two studies, the team checks the definition that the tool applies. Time, first click and the frequency of each path come next. The team reads task by task, then across all tasks.

To interpret a success rate, the Nielsen Norman Group uses the scale that William Albert and Thomas Tullis give in Measuring the User Experience. Across the 98 tree tests they examined, the median task success is 62%. Half the tasks fall between 37% and 83%. The gap between 40 and 41% and the overlap at 80% appear as such in the source. The Nielsen Norman Group adds that a business-critical task should ideally exceed 90%.

Success rateRating
less than 40%Poor
41 to 60%Fair
61 to 80%Good
80 to 90%Very good
more than 90%Excellent
The Nielsen Norman Group uses the Albert and Tullis scale to interpret a success rate.

The two measures are read together. A high success rate with few direct paths signals participants who find the answer in the end after detours: the result is correct and the experience poor. The Nielsen Norman Group calls it a direct failure when the participant goes straight to a wrong leaf. A label misled them. The team reworks that label.

The first click locates the error. For the Nielsen Norman Group, a task with a low success rate despite correct first clicks calls for more distinct subsection labels. When first clicks split across several sections, the team files the content in each of them. If this recurs across many tasks, the team revisits the whole organisation scheme rather than a single word.

Comparing two trees takes a statistical test. The Nielsen Norman Group notes that most tools do not run this test. For two trees, the team compares success and directness with a two-proportion test (N-1 variant, different participants per tree). It compares time with a t-test. Beyond two trees, an ANOVA detects an effect of the tree version. A post hoc test then identifies the pairs that differ. A small panel gives wide confidence intervals: a ten-point gap between two trees tested on twenty people each may be down to chance.

Correcting and retesting

The team renames or moves the failing nodes. The corrected tree goes through the test again with new participants. O'Brien cites a government project that went from 31% success on the old tree to 67% on the proposed tree. The unmoderated online test shows where people fail without saying why. O'Brien recommends taking the low-scoring tasks into moderated sessions where the participant thinks aloud.

AI considerations

A language model helps first with writing the tasks. From the site's internal searches, the support requests or the most-viewed forms, it proposes scenarios drawn from user goals. It then compares each task with the list of labels and flags the matching words and word stems. After the test, it groups the failing paths by node and summarises the participants' free comments.

It does not replace the participants. A model asked where it would look for content answers with the associations of its training corpus. The test measures those of the target users. The replacement labels it suggests for failing nodes are hypotheses: they go through the test like the others. The team chooses the correct answers itself: it knows where the content is.

Tree-test answers are usually anonymous and of low sensitivity. By contrast, the recruitment list and the recordings of moderated sessions contain personal data. Entrusting the recruitment list or the recordings to an external service makes that service a processor under the FADP: a contract binds it.

Examples

A municipality in the canton of Vaud has derived the new tree for its website from a card sort. It tests the tree online with 54 residents.

Task and correct answerSuccessDirectnessDirect failurePaths
"You sign the lease on a flat in the municipality. You move in on 1 May. What do you have to arrange?"
Housing and relocation > Registering on arrival
50/54 (93%)47/54 (87%)2/54 (4%)Correct first click for almost everyone. Nothing to fix.
"You want to enclose your balcony with a conservatory. Where do you apply for approval?"
Building and renovation > Building permit
42/54 (78%)24/54 (44%)3/54 (6%)18 participants first open Housing and relocation, then come back.
"Your family is adopting a three-month-old Australian Shepherd. What do you have to arrange with the municipality?"
Taxes and charges > Dog tax
18/54 (33%)16/54 (30%)29/54 (54%)29 participants go straight to Housing and relocation > Animals and neighbours.
Results of 54 participants on three of the ten tasks. Success and directness are read together. The direct failure points to the label to rework.

The conservatory's 78% falls in the "Good" category of the scale and hides 18 detours among 42 successes. All these detours start from "Housing and relocation". The municipality adds a link there to the building permit and keeps the leaf where it is. The dog task is a direct failure: 29 participants out of 54 choose "Animals and neighbours". The municipality places the dog registration there, accepts both locations as correct answers and retests the task with a new panel.

Visualisations

For each task, online tools draw each participant's path on the tree. A direct path to the correct leaf counts in both success and directness. A path that goes back up a level before ending in the right place counts in success only. A direct path to a wrong leaf is the direct failure. On this plot, the team first reads the thickness of the branches taken at the first level, then the point where the paths leave the correct branch.

Cost

PhaseLevelJustification
PreparationMediumEntering the complete tree, writing and reviewing the tasks, setting the correct answers, recruiting the panel.
ExecutionLow to mediumLow online, where each participant spends 5 to 10 minutes alone. Medium on paper, where each session of 10 to 15 minutes takes a facilitator and a note-taker.
DocumentationLowOnline tools calculate the rates and draw the paths. The team diagnoses the failing nodes and corrects the tree.

Tooling

Spencer's setup fits in a pack of index cards, a marker and a spreadsheet to record the answers. It suits about twenty in-person sessions, when the team wants to hear participants reason.

Online platforms host the tree, randomise the task order, record the first click and the complete path, then calculate success and directness. O'Brien's team built Treejack. Optimal Workshop now sells it as Tree Testing. UXtweak and Maze also offer a tree-testing module. A spreadsheet, R or Python can run the statistical test between two trees from the exported results.

For a Swiss organisation, the data hosting location guides the choice when the panel is identifiable. Outside Switzerland, the FADP requires contractual safeguards when the Federal Council does not recognise the country's level of protection. Failing that, the team pseudonymises the panel.

Sources

  • Spencer (then Maurer), D., "Card-Based Classification Evaluation", Boxes and Arrows, 7 April 2003: the original article on the paper procedure and the recording table. Online article.
  • O'Brien, D., "Tree Testing", Boxes and Arrows, 5 December 2009: the online version, the number of tasks and participants, the follow-up in moderated sessions. Online article.
  • Laubheimer, P., "Tree Testing: Evaluate Menu Labels and Categories", Nielsen Norman Group, 6 August 2023: definition, use in a project and task writing. Online article.
  • Laubheimer, P., "Tree Testing Part 2: Interpreting the Results", Nielsen Norman Group, 19 January 2024: the measures, the direct failure, the Albert and Tullis scale and the statistical tests. Online article.
Toyota Kata
All techniques
Triple Constraint