---
product: "AG Charts"
title: "Accessibility"
description: "AG Charts are fully accessible, providing keyboard navigation and screen reader support."
framework: angular
version: "14.3.0"
related:
    - title: "Localisation"
      url: "https://www.ag-grid.com/charts/angular/localisation/"
    - title: "Series Highlighting"
      url: "https://www.ag-grid.com/charts/angular/series-highlighting/"
    - title: "Tooltips"
      url: "https://www.ag-grid.com/charts/angular/tooltips/"
    - title: "Touch"
      url: "https://www.ag-grid.com/charts/angular/touch/"
    - title: "Animation"
      url: "https://www.ag-grid.com/charts/angular/animation/"
    - title: "Context Menu"
      url: "https://www.ag-grid.com/charts/angular/context-menu/"
    - title: "Crosshairs & Band Highlight"
      url: "https://www.ag-grid.com/charts/angular/axes-crosshairs/"
    - title: "Data Selection"
      url: "https://www.ag-grid.com/charts/angular/selection/"
    - title: "Flash On Update"
      url: "https://www.ag-grid.com/charts/angular/flash-on-update/"
    - title: "Navigator"
      url: "https://www.ag-grid.com/charts/angular/navigator/"
    - title: "Range Controls"
      url: "https://www.ag-grid.com/charts/angular/range-controls/"
    - title: "Scrollbar"
      url: "https://www.ag-grid.com/charts/angular/scrollbar/"
    - title: "Synchronization"
      url: "https://www.ag-grid.com/charts/angular/sync/"
    - title: "Zoom"
      url: "https://www.ag-grid.com/charts/angular/zoom/"
llms: "https://www.ag-grid.com/charts/llms.txt"
---

# Accessibility

AG Charts are fully accessible, providing keyboard navigation and screen reader support.

## Web Conformance Guidelines

Even if you are not mandated to conform to any particular accessibility standard, it can be helpful to understand the guidelines outlined, as they are generally good practices worth incorporating into your web-based applications.

Currently the most commonly encountered conformance guidelines are:

- [ADA](https://www.ada.gov/) - US Department of Justice.
- [Section 508](https://www.section508.gov/) - US federal agencies.
- [WCAG 2.0](https://www.w3.org/WAI/standards-guidelines/wcag/) - Globally accepted standard.

WCAG 2.0 has 3 levels of conformance; A, AA and AAA (in order of conformance).

As meeting WCAG 2.0 level AA guidelines also meets the ADA and Section 508 standards, it is likely that most organisations will want to target this standard.

## Keyboard Navigation

AG Charts fully supports keyboard navigation as an element of accessibility, allowing interaction with chart elements and navigation through the displayed data without using a mouse.

The following keys are available:

- `⇥ Tab` moves focus between chart components, in this order:
  - Title, Subtitle
  - Series
  - Footnote
  - Cross lines
  - Legend
  - Legend pagination control
  - Toolbars and Buttons
  - Navigator

  Captions and cross lines are only included when they have a `click` listener, set on the item itself or at a higher level. See [Events](https://www.ag-grid.com/charts/angular/events/).
- `←``→` moves focus between items in a series, between legend items, or between cross lines.
- `↑``↓` moves focus between series in a chart. Please note that datapoints are traversed in declared order which may not match the visual display. Series are traversed in declared order unless a [Series Focus Order](https://www.ag-grid.com/charts/angular/accessibility/#series-focus-order) is set.
- `PgUp``PgDown` jumps focus backward or forward by a page of data items, scrolling to keep the focused item in view.
- `Home``End` jumps to the first or last data item.
- `↵ Enter` or `␣ Space` toggles legend items and triggers any click listeners for the focused item.
- In Windows, `⇧ Shift`+`F10` or `≡ Menu` opens the context menu. On Mac this is done with `⌃⌥⇧ M` when Voiceover is enabled.
- `Esc` hides the [tooltip](https://www.ag-grid.com/charts/angular/tooltips/) for the focused data item without moving focus. Moving focus to another item shows its tooltip again. It also closes an open [context menu](https://www.ag-grid.com/charts/angular/context-menu/) or settings popup, and cancels any [annotation](https://www.ag-grid.com/charts/angular/annotations/) creation or [drag selection](https://www.ag-grid.com/charts/angular/selection/) in progress.
- `Alt`+`↑` and `Alt`+`↓` collapse and expand nodes in the [Org Chart](https://www.ag-grid.com/charts/angular/org-chart/).

#### Keyboard Navigation

```ts
// Angular entry point file
import '@angular/compiler';
import { bootstrapApplication } from '@angular/platform-browser';

import { AppComponent } from './app.component';

bootstrapApplication(AppComponent);
```

[Live example: Keyboard Navigation](https://www.ag-grid.com/charts/angular/accessibility/examples/keyboard-navigation/)

In this example:

- Focusing on the top input box and pressing TAB will move focus into the chart.
- Pressing TAB will move focus through the chart components.
- The arrow keys move focus around within the chart components as described above.
- Pressing ENTER or SPACE when a bar is focused will trigger a click listener which logs a message to the console.
- Pressing ESC when a bar is focused hides its tooltip while focus stays on the bar. Moving to another bar shows its tooltip again.
- Pressing TAB after all the chart components will move focus to the element below the chart.
- SHIFT+TAB will move focus into, around and out of the chart in reverse order.

### Series Focus Order

Focus moves between series in the order they are declared. Use the `focusIndex` series property to change this order.

```js
{
    series: [
        { type: 'bar', xKey: 'month', yKey: 'volume' },
        { type: 'line', xKey: 'month', yKey: 'price', focusIndex: 0 },
    ],
}
```

In this snippet, the line series is focused first, even though the bar series is declared first.

- Series with a lower `focusIndex` are focused first. Only the relative order matters, so values do not need to be consecutive.
- Series without a `focusIndex` are focused after those with one, in the order they are declared.
- Series with the same `focusIndex` are focused in the order they are declared.

### Initial Focus

Use `keyboard.initialFocus` to choose which data item receives focus when keyboard navigation first enters the chart. The default is `'data-start'`.

```js
{
    keyboard: {
        initialFocus: 'viewport-start',
    },
}
```

- `'data-start'` and `'data-end'` focus the first or last item in the full dataset.
- `'viewport-start'` and `'viewport-end'` focus the first or last item in the initial visible zoom range.

## Screen Readers (ARIA)

Users who are visually impaired will typically require the assistance of a screen reader to interpret and interact with web-based applications.

Screen readers for Windows include [NVDA](https://www.nvaccess.org/download/), [JAWS](https://support.freedomscientific.com/Downloads/JAWS), [Windows Narrator](https://support.microsoft.com/en-us/windows/complete-guide-to-narrator-e4397a0d-ef4f-b386-d8ae-c172f109bdb1), and Mac users have the built-in [VoiceOver](https://support.apple.com/en-gb/guide/voiceover/welcome/10) screen reader. Our accessibility testing has focused on these screen readers.

AG Charts generates announcements for screen readers via a standards-based accessibility implementation based on the currently focused chart element.

## High Contrast Theme

For users that are visually impaired due to colour deficiencies, care should be taken to provide enough contrast between adjacent colours. Additionally, when using charts it is common to use red and green to denote negative and positive values, however this can pose difficulties for people suffering from colour blindness.

To create a high contrast theme, please check out the [Themes](https://www.ag-grid.com/charts/angular/themes/) documentation for details.

## API Reference

#### Keyboard Navigation

| Property | Type | Default | Description |
| --- | --- | --- | --- |
| enabled | boolean | true | Toggles the keyboard navigation feature. |
| tabIndex | number | 0 | Allows setting the tabIndex of the chart canvas. |
| initialFocus | 'data-start' \| 'data-end' \| 'viewport-start' \| 'viewport-end' | 'data-start' | Determines which datum receives focus when keyboard navigation first enters the chart.  - `'data-start'` and `'data-end'` reference the full dataset - `'viewport-start'` and `'viewport-end'` reference the initial visible zoom viewport |

#### Series Focus Order

| Property | Type | Default | Description |
| --- | --- | --- | --- |
| focusIndex | number |  | Position of the series in the keyboard focus order within other series. Series with a lower value are focused first, instead of the declared order in the `series` array. |
