Train timetable that uses a grid with multiple focusable rowgroups.

Each rowgroup represents a range of times, namely, morning rush hour, midday, and evening rush hour. The background provides a visual cue for each rowgroup, and aria-labelledby provides a name. Each rowgroup is interactive allowing users to hide times they are not interested in.

Show/Hide:      

Train Departure Times By Station
Station 1Station 2Station 3Station 4
Morning Rush Hour
(click to hide)
6:306:457:057:10
7:007:107:307:35
Midday
(click to hide)
13:0013:1513:3513:40
13:3013:4514:0514:10
Evening Rush Hour
(click to hide)
16:2516:4017:0017:05
16:4016:5517:1517:20
Unfocusable rowgroup00:0000:0000:0000:00
00:0000:0000:0000:00

Train timetable that uses a <table> with multiple focusable <tbody>s.

Each <tbody> represents a range of times, namely, morning rush hour, midday, and evening rush hour. The background provides a visual cure for each, and aria-labelledby provides a name. Each <tbody> is ineractive allowing users to hide times they are not interested in.

Show/Hide:

Train Departure Times By Station
Station 1Station 2Station 3Station 4
Morning Rush Hour
(click to hide)
6:306:457:057:10
7:007:107:307:35
Midday
(click to hide)
13:0013:1513:3513:40
13:3013:4514:0514:10
Evening Rush Hour
(click to hide)
16:2516:4017:0017:05
16:4016:5517:1517:20
Unfocusable TBODY00:0000:0000:0000:00
00:0000:0000:0000:00