Angular UI Components Documentation
The jQWidgets Angular components are made to work with a keyboard and a screen reader. Each component creates its widget in an element inside its own tag, and the widget does the accessibility work. It adds WAI-ARIA roles and states to its elements and keeps them up to date. It answers the keys that users of that kind of control expect, and it can mirror its layout for right-to-left languages. Charts, gauges and codes get a name that a screen reader can read out.
Some things only your app knows: what a field is called, what a drawing shows, and what happened after a click. This guide shows what the components do in jqwidgets-ng 27.1.0 with Angular 22, and the code your app adds for accessibility. One thing differs from plain elements: attributes on a component's tag, such as aria-label, stay on the tag and do not reach the widget, so your app sets them on the widget's element (see A name for every field).
The jQWidgets Accessibility Conformance Report (VPAT 2.5 format) rates every WCAG 2.1 Level A and AA success criterion, says how each one was tested, and names the command that repeats the test. It covers the widgets themselves, which the Angular components wrap. It is a self-issued report for version 27.0.0, dated 4 September 2026 and marked as a draft.
| Question | What the report says |
|---|---|
| Which standard? | WCAG 2.1 Level A and AA. Of the 50 criteria, 37 are rated Supports and 13 Not Applicable, because they are about whole pages or media (page titles, captions and similar). |
| What is covered? | jqx.base.css and the widgets that render HTML, in the base, light and dark themes. |
| What is not covered? | The widgets that draw their content and take its colours from your options: jqxChart, jqxGauge, jqxLinearGauge, jqxBarGauge, jqxBulletChart, jqxHeatMap, jqxTreeMap, jqxKnob, jqxBarcode, jqxQRcode, jqxDraw and jqxGantt. The other themes, such as fluent, tailwind and highcontrast, are provided but not claimed. |
| WCAG 2.2? | The six Level A and AA criteria that WCAG 2.2 adds are rated separately: 2.4.11 Focus Not Obscured is supported, 2.5.7 Dragging Movements and 2.5.8 Target Size are partially supported, and three do not apply. So the report does not claim WCAG 2.2 Level AA. |
| Section 508, EN 301 549? | The report rates WCAG criteria only. It has no separate Section 508 or EN 301 549 tables. |
Use the report for procurement and audits. The rest of this guide shows what it means for your app.
Each widget adds its ARIA attributes when it is created; there is no option to turn on. This component:
import { Component } from '@angular/core';
import { jqxSliderModule } from 'jqwidgets-ng/jqxslider';
@Component({
selector: 'app-volume',
imports: [jqxSliderModule],
template: `<jqxSlider [min]="0" [max]="10" [value]="5"></jqxSlider>`
})
export class Volume {}
renders this element inside <jqxSlider> (without its generated id, its class and its style):
<div role="slider" aria-valuenow="5" aria-valuemin="0" aria-valuemax="10" aria-disabled="false" tabindex="0"></div>
tabindex="0" puts the slider in the Tab order, and the role and the values tell a screen reader what it is and where it stands. When the user presses the Right Arrow key, the widget changes aria-valuenow to 6. The slider has no name yet: A name for every field shows how to add one. To see the attributes of any widget, inspect its element in the browser's developer tools, or open their Accessibility panel.
The widgets follow the patterns of the WAI-ARIA Authoring Practices Guide. These are the roles and states that jqwidgets-ng 27.1.0 renders for the components used most:
| Component | Roles | States and properties |
|---|---|---|
| jqxSlider, jqxRating | slider | aria-valuenow, aria-valuemin, aria-valuemax |
| jqxNumberInput | spinbutton | aria-valuenow, aria-valuemin, aria-valuemax |
| jqxProgressBar | progressbar | aria-valuenow |
| jqxCheckBox, jqxSwitchButton | checkbox | aria-checked |
| jqxButtonGroup (radio mode) | radiogroup, radio | |
| jqxDropDownList, jqxComboBox | combobox | aria-expanded, aria-haspopup, aria-owns; an open drop-down list names the highlighted item with aria-activedescendant |
| jqxListBox | listbox, option | aria-selected, aria-multiselectable |
| jqxTabs | tablist, tab, tabpanel | aria-selected and aria-controls on each tab, and only the selected tab in the Tab order; each tab panel is aria-labelledby its tab |
| jqxTree | tree, group, treeitem | aria-expanded on an item with children; aria-selected on the selected item, which is also the tree's aria-activedescendant |
| jqxMenu | menubar, menuitem | aria-haspopup, aria-expanded and aria-owns on an item with a submenu |
| jqxGrid | grid, row, columnheader, gridcell | aria-rowcount, aria-colcount, aria-rowindex, aria-colindex, aria-multiselectable, aria-sort on a sorted column, and the selected row as aria-activedescendant |
| jqxWindow | dialog | aria-labelledby its title bar, aria-describedby its content |
| jqxInput | textbox | |
| jqxChart, the gauges, jqxBulletChart, jqxQRcode | img | aria-label: see Names for charts, gauges and codes |
jqx.ariaEnabled is true by default. Setting it to false in src/main.ts, before the application starts, stops the widgets from writing their states. jqx is a global that jqwidgets-ng declares:
import { bootstrapApplication } from '@angular/platform-browser';
import { appConfig } from './app/app.config';
import { App } from './app/app';
jqx.ariaEnabled = false;
bootstrapApplication(App, appConfig).catch((err) => console.error(err));
It does less than its name says. The roles, the labels and the grid's structure stay. What goes are the values and states, such as aria-valuenow and aria-checked, and the messages of jqx.announce (see Status messages). A slider is then a slider without a value, and axe-core reports it as an error (aria-required-attr). Leave the setting on.
Tab moves into a component and out of it again, and the arrow keys move inside it. The conformance report found every interactive widget operable from the keyboard, with no keyboard trap and a visible change when it gets the focus. These are the main keys in 27.1.0:
| Component | Keys |
|---|---|
| jqxSlider | Left and Down Arrow lower the value, Right and Up Arrow raise it; Home and End go to the minimum and the maximum |
| jqxRating | Left and Right Arrow |
| jqxNumberInput | Up and Down Arrow |
| jqxCheckBox, jqxSwitchButton | Space |
| jqxListBox | Up and Down Arrow, Home, End |
| jqxDropDownList, jqxComboBox | Alt+Down Arrow opens the list, Down Arrow and Enter pick an item, Escape closes the list |
| jqxDateTimeInput | Alt+Down Arrow opens the calendar; the arrow keys and Enter pick a day |
| jqxCalendar | Left and Right Arrow: a day; Up and Down Arrow: a week; Page Up and Page Down: a month; Home and End: the first and last day of the month |
| jqxTabs | Left and Right Arrow, Home, End |
| jqxTree | Up and Down Arrow; Right Arrow expands an item and Left Arrow collapses it; Home, End |
| jqxMenu | with [keyboardNavigation]="true": Left and Right Arrow, Alt+Down Arrow opens a submenu, Down Arrow and Enter choose in it, Escape closes it |
| jqxGrid | Up and Down Arrow move the selection, Home and End go to the first and last row |
| jqxButtonGroup | Left and Right Arrow move between the buttons |
| jqxWindow | Escape closes it; a modal window keeps Tab inside it |
| jqxTooltip | Escape closes it |
What to know about a few components:
selectItem method in ngAfterViewInit, and the grid's selectrow(0) once the data is in it.[keyboardNavigation]="true"; the default is false.The keyboard demos list all the keys of each component: Grid, Tree, ListBox, DropDownList, ComboBox, Calendar, DateTimeInput, Slider, Tabs, Menu and Window.
59 components have an rtl input. With [rtl]="true", a widget mirrors its layout for languages such as Arabic and Hebrew: the tabs start on the right, the grid's first column is on the right, and the arrow of a drop-down list moves to the left.
import { Component } from '@angular/core';
import { jqxDropDownListModule } from 'jqwidgets-ng/jqxdropdownlist';
@Component({
selector: 'app-country',
imports: [jqxDropDownListModule],
template: `<jqxDropDownList
[rtl]="true"
[source]="countries"
[width]="200"
[height]="32"
></jqxDropDownList>`
})
export class Country {
readonly countries = ['Israel', 'Jordan'];
}
The input mirrors the widget only. It does not set the dir attribute, so give the page its language and direction as well, in src/index.html; the widgets lay out the same way inside it:
<html lang="he" dir="rtl">
The report measured the base, light and dark themes: no text below the contrast that WCAG 2.1 AA asks for, and control borders and focus indicators at 3:1 or more. If your app has to meet WCAG 2.1 AA, use one of these three.
The highcontrast theme is for users with low vision. It shows black text on white, white on black under the pointer, and white on dark purple for the selected item:
| State | Text on background | Contrast ratio |
|---|---|---|
| Normal | #000 on #fff | 21:1 |
| Hover | #fff on #000 | 21:1 |
| Selected | #fff on #37006e | 15.13:1 |
All three are above 7:1, the level of the WCAG AAA criterion 1.4.6 Contrast (Enhanced). On a test page with 16 widgets in this theme, axe-core found no text below 7:1. The theme is not part of the report's claim. To use it, add its stylesheet after jqx.base.css in the styles of angular.json, and set each component's [theme]="'highcontrast'":
"styles": [
"node_modules/jqwidgets-ng/jqwidgets/styles/jqx.base.css",
"node_modules/jqwidgets-ng/jqwidgets/styles/jqx.highcontrast.css",
"src/styles.css"
]
More about themes: Themes in Angular. The highcontrast theme does not change chart colours. For colour-blind users, the report measured the 27 colour schemes of version 27.0.0: only scheme09 kept every pair of series apart for all three common kinds of colour blindness. 27.1.0 adds scheme28 and makes it the default; measured the same way, it keeps every pair apart too.
Widgets that draw get role="img" and an aria-label, so a screen reader reads each one as a single image with a name:
| Component | Name | Example |
|---|---|---|
| jqxChart | its title and description | "Sales. Units by month" |
| jqxGauge, jqxLinearGauge | the reading | "Gauge, 55 of 0 to 220" |
| jqxBarGauge | the values | "Bar gauge, values 35, 60, 80" |
| jqxBulletChart | its title and description | "Revenue. (U.S. $ thousands)" |
| jqxQRcode | the encoded value | "https://www.jqwidgets.com" |
A chart with no title and no description gets no role at all, rather than an image without a name. An aria-label on the widget's element wins over the widget's own name, so use one to say what the chart shows, not only what it is called. The element is the first child of the component's tag; set the attributes in ngAfterViewInit:
import { AfterViewInit, Component, viewChild } from '@angular/core';
import { jqxChartComponent, jqxChartModule } from 'jqwidgets-ng/jqxchart';
@Component({
selector: 'app-sales-chart',
imports: [jqxChartModule],
template: `
<jqxChart
#chart
[title]="'Sales'"
[description]="'Units by month'"
[source]="sales"
[xAxis]="xAxis"
[seriesGroups]="seriesGroups"
[width]="400"
[height]="250"
></jqxChart>
`
})
export class SalesChart implements AfterViewInit {
readonly chart = viewChild.required<jqxChartComponent>('chart');
readonly sales = [
{ month: 'January', units: 10 },
{ month: 'February', units: 14 }
];
readonly xAxis = { dataField: 'month' };
readonly seriesGroups = [
{ type: 'column', series: [{ dataField: 'units', displayText: 'Units' }] }
];
ngAfterViewInit(): void {
// Say what the chart shows. The widget's element is the first child of <jqxChart>.
const element: HTMLElement = this.chart().elementRef.nativeElement.firstElementChild;
element.setAttribute('role', 'img');
element.setAttribute('aria-label', 'Monthly sales: 10 units in January, 14 in February');
}
}
A gauge's own name follows its value. An aria-label that you set on its element wins, and the widget does not change it, so if you name a gauge yourself, set the aria-label again when the value changes. jqxDraw is a drawing surface and cannot know what you draw on it: give its element role="img" and an aria-label in the same way.
A screen reader reads what has the focus. Changes elsewhere on the page, such as a sorted grid or a saved form, stay silent unless they go into a live region. When the page has loaded, jQWidgets adds two hidden live regions to it: #jqxLiveRegionPolite (role="status") and #jqxLiveRegionAssertive (role="alert"). The grid uses them: sorting by the Product column announces "Sorted by Product".
Your code can use them too, with jqx.announce. A message is polite by default, so the screen reader waits until it has finished speaking. Pass true for an error, which is read at once:
jqx.announce('3 rows saved');
jqx.announce('Could not save the changes', true);
Announce the changes that your own code makes. For example, when your code selects a grid row while the focus is somewhere else, the report notes that nothing is announced.
A widget cannot know what a field is for. Give each one a visible label and connect the two with aria-labelledby, or name it with aria-label.
In Angular, put these attributes on the widget's element, not on the component's tag: the component creates the widget in an element inside its tag and moves only the tag's classes and styles to it. The component has created its widget by your component's ngAfterViewInit; reach the element through the component's elementRef. Where to set the attributes depends on the widget:
| Component | How to name it |
|---|---|
| jqxCheckBox | Its content: <jqxCheckBox>Gift wrap</jqxCheckBox> |
| jqxSlider, jqxSwitchButton, jqxListBox, jqxTree, jqxGrid, jqxDropDownList, jqxInput | aria-label or aria-labelledby on the element with the widget's role |
| jqxComboBox, jqxNumberInput, jqxDateTimeInput | The keyboard focus goes to an <input> inside the widget. The widget gives it the element's label only when it is created, which is before your ngAfterViewInit, so set aria-labelledby on that input as well. Select it inside the element with the role ([role="combobox"] input, or [role="spinbutton"] input for the number and date inputs), because the tags of jqxNumberInput and jqxDateTimeInput hold another <input> of their own first. |
Before 27.1.0, jqxDropDownList and jqxInput replaced an aria-label with their own ("DropDownList", "Input"); on those versions, use aria-labelledby.
This form puts it together. axe-core finds no violations in it, and in the accessibility tree the fields are named Size, Country, Gift wrap and Save, in that Tab order. Save announces "Order saved".
import { AfterViewInit, Component, viewChild } from '@angular/core';
import { jqxCheckBoxModule } from 'jqwidgets-ng/jqxcheckbox';
import { jqxComboBoxComponent, jqxComboBoxModule } from 'jqwidgets-ng/jqxcombobox';
import { jqxDropDownListComponent, jqxDropDownListModule } from 'jqwidgets-ng/jqxdropdownlist';
@Component({
selector: 'app-root',
imports: [jqxCheckBoxModule, jqxComboBoxModule, jqxDropDownListModule],
template: `
<form (submit)="save($event)">
<p id="size-label">Size</p>
<jqxDropDownList
#sizeList
[theme]="'light'"
[source]="sizes"
[selectedIndex]="1"
[width]="200"
[height]="32"
></jqxDropDownList>
<p id="country-label">Country</p>
<jqxComboBox
#countryList
[theme]="'light'"
[source]="countries"
[width]="200"
[height]="32"
></jqxComboBox>
<jqxCheckBox [theme]="'light'">Gift wrap</jqxCheckBox>
<button type="submit">Save</button>
</form>
`
})
export class App implements AfterViewInit {
readonly sizeList = viewChild.required<jqxDropDownListComponent>('sizeList');
readonly countryList = viewChild.required<jqxComboBoxComponent>('countryList');
readonly sizes = ['Small', 'Medium', 'Large'];
readonly countries = ['France', 'Germany', 'Spain'];
ngAfterViewInit(): void {
// The widget's element is inside the component's tag, so attributes on the tag do not reach it.
const size: HTMLElement = this.sizeList().elementRef.nativeElement;
size.querySelector('[role="combobox"]')?.setAttribute('aria-labelledby', 'size-label');
const country: HTMLElement = this.countryList().elementRef.nativeElement;
country
.querySelector('[role="combobox"]')
?.setAttribute('aria-labelledby', 'country-label');
// jqxComboBox puts the keyboard focus on an <input> inside it: label that input too.
country
.querySelector('[role="combobox"] input')
?.setAttribute('aria-labelledby', 'country-label');
}
save(event: Event): void {
event.preventDefault();
// Tell screen reader users what happened: the message goes to a polite live region.
jqx.announce('Order saved');
}
}
lang) and a way to skip repeated content. The report rates these as the page's responsibility, not the library's. Headings and landmarks (main, nav) are yours as well.[itemWidth] and [itemHeight] inputs.