Testing tables
Which of the tables below has both:
- An accessible name? (via
aria-labelledby, aria-label or <caption>)
- Table headers? (via
<th>)
Example 1
Land mammals
|
Australia |
Asia |
America |
| Bats |
Gould's Bat |
Hairless bat |
Canyon bat |
| Camels |
Dromedary camel |
Bactrian camel |
Cama camel |
| Dogs |
Labrador |
Rottweiler |
Beagle |
| Cats |
Siamese |
Persian |
Ragdoll |
| Bears |
Panda bear |
Brown bear |
Polar bear |
Example 2
Whales
|
Large |
Small |
| Pacific Ocean |
Right Whale |
Pygmy Right Whale |
| Arctic Ocean |
Blue Whale |
Orca |
| Indian Ocean |
Humpback whale |
Beluga Whale |