---
layout: entry
title: "Figure: maps, charts and graphics"
description: "How to test accessible figures, maps, charts and tables for the Web"
categories: main
keyboard:
arrow-keys: |
Browse to content
tab: |
Interactive figure controls are focusable
enter: |
Activates controls
spacebar: |
Activates controls
mobile:
swipe: |
Focus visibly moves to each control
doubletap: |
Activates the control
screenreader:
name: |
Content is described by a heading, alt text or named on focus
role: |
It identifies as a common HTML element (image, list, table)
group: |
An alternative method of consumption or interaction is available
gherkin-keyboard:
- when: |
the arrow key to browse to a figure
result: |
the figure comes into view
- then: |
the tab key to move focus to figure controls (toggle, show/hide, etc)
result: |
the control is in focus
- then: |
the spacebar or enter key
result: |
the intended action occurs
gherkin-mobile:
- when: |
swipe to browse to an image
---
## Code examples
### Consider making simple charts from semantic markup
{% highlight html %}
{% include /examples/figure-bar-chart.html %}
{% endhighlight %}
{::nomarkdown}
{% endhighlight %}
### Provide alternative ways to consume data
If you have a figure that can't be described by alt text, place the content in a different format.
{::nomarkdown}