Skip to content

All tests / Messy content

Awkward tables

What this tests. A timetable with rowspan, colspan, repeated header rows and a total row, and a second table built from divs.

The rule. Each workshop is one record: day, start, end, room, name and seats. The day cell spans all of that day's rows, so most rows start at the second column. Lunch is a row whose last cell spans three columns; it isn't a workshop. The header row comes round again at the start of each day, and the last row is a total. None of it has a class or an id to hold on to. Below it, the room list looks like a table but is built from divs with ARIA roles.

Workshop timetable

DayStartsEndsRoomWorkshopSeats
Monday 09:30 11:00 LarchKnife sharpening for beginners12
11:15 12:30 RowanRepotting houseplants10
12:30 13:30 Lunch break
13:30 15:00 LarchFixing a wobbly lamp8
15:15 16:30 HazelPlanning a raised bed14
DayStartsEndsRoomWorkshopSeats
Tuesday 09:30 10:45 HazelSeasoning a cast-iron pan9
11:00 12:30 LarchDarning and patching12
12:30 13:15 Lunch break
13:15 14:45 RowanSetting up a turntable6
DayStartsEndsRoomWorkshopSeats
Wednesday 10:00 11:30 RowanPitching a tent in the wind16
11:45 12:45 LarchCaring for wooden boards12
12:45 13:45 Lunch break
13:45 15:15 HazelBuilding a marble run10
15:30 16:30 RowanChoosing a desk chair8
Total seats117

Rooms

Room
Floor
Seats
Step-free
Larch
Ground
12
Yes
Rowan
First
16
No
Hazel
Ground
14
Yes

Data version 1.0.0. Everything here is made up: products, brands, people, towns. tests.json · robots.txt · Source