Vue UI Components Documentation
The jQWidgets Vue components are made to work with a keyboard and a screen reader. Each component renders an element and creates its widget in it when it is mounted, 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-scripts 27.1.0 with Vue 3.5, and the code your app adds for accessibility. Attributes that you put on a component, such as aria-label and aria-labelledby, reach the widget's element, as they would on a plain element.
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 Vue 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:
<script setup lang="ts">
import JqxSlider from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxslider.vue';
</script>
<template>
<JqxSlider aria-label="Volume" :min="0" :max="10" :value="5" />
</template>
renders this element (without its generated id, its class and its style):
<div aria-label="Volume" role="slider" aria-valuenow="5" aria-valuemin="0" aria-valuemax="10" aria-disabled="false" tabindex="0"></div>
The aria-label comes from the component's attributes; the widget adds the rest. tabindex="0" puts the slider in the Tab order. In the browser's accessibility tree, which is what a screen reader reads, it is a slider named "Volume" with values from 0 to 10. When the user presses the Right Arrow key, the widget changes aria-valuenow to 6. 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-scripts 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 app is mounted, stops the widgets from writing their states. jqx is a global that the components' scripts define:
import { createApp } from 'vue';
import App from './App.vue';
declare const jqx: any;
jqx.ariaEnabled = false;
createApp(App).mount('#app');
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 when it is mounted, 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 prop. 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.
<script setup lang="ts">
import JqxDropDownList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxdropdownlist.vue';
const countries = ['Israel', 'Jordan'];
</script>
<template>
<JqxDropDownList :rtl="true" :source="countries" :width="200" :height="32" />
</template>
The prop mirrors the widget only. It does not set the dir attribute, so give the page its language and direction as well, in 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, import its stylesheet after jqx.base.css, for example in src/main.ts, and set each component's theme to highcontrast:
import 'jqwidgets-scripts/jqwidgets/styles/jqx.base.css';
import 'jqwidgets-scripts/jqwidgets/styles/jqx.highcontrast.css';
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 component wins over the widget's own name, so use one to say what the chart shows, not only what it is called:
<script setup lang="ts">
import JqxChart from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxchart.vue';
const sales = [{ month: 'January', units: 10 }, { month: 'February', units: 14 }];
const xAxis = { dataField: 'month' };
const seriesGroups = [{ type: 'column', series: [{ dataField: 'units', displayText: 'Units' }] }];
</script>
<template>
<JqxChart aria-label="Monthly sales: 10 units in January, 14 in February" title="Sales" description="Units by month"
:source="sales" :xAxis="xAxis" :seriesGroups="seriesGroups" :width="400" :height="250" />
</template>
A gauge's own name follows its value. An aria-label on the component wins, and the widget does not change it, so if you name a gauge yourself, bind aria-label to a value that changes with it: :aria-label="'Engine temperature, ' + temperature + ' degrees'". JqxDraw is a drawing surface and cannot know what you draw on it: give the component role="img" and an aria-label.
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:
declare const jqx: any;
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. On a Vue component, both attributes reach the widget's element. Which one to use, and where, 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 component |
| JqxComboBox, JqxNumberInput, JqxDateTimeInput | aria-label or aria-labelledby on the component. The keyboard focus goes to an <input> inside the widget, and the widget gives it the component's label. |
Before 27.1.0, JqxDropDownList and JqxInput replaced an aria-label with their own ("DropDownList", "Input"), and JqxComboBox and JqxDateTimeInput did not give the label to their input. On those versions, use aria-labelledby, and set it on the input as well in onMounted, which runs after the components have created their widgets.
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".
<script setup lang="ts">
import JqxCheckBox from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxcheckbox.vue';
import JqxComboBox from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxcombobox.vue';
import JqxDropDownList from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxdropdownlist.vue';
declare const jqx: any;
const sizes = ['Small', 'Medium', 'Large'];
const countries = ['France', 'Germany', 'Spain'];
function save() {
// Tell screen reader users what happened: the message goes to a polite live region.
jqx.announce('Order saved');
}
</script>
<template>
<form @submit.prevent="save">
<p id="size-label">Size</p>
<JqxDropDownList aria-labelledby="size-label" theme="light" :source="sizes" :selectedIndex="1" :width="200" :height="32" />
<p id="country-label">Country</p>
<!-- jqxComboBox gives the label to the <input> inside it, which takes the keyboard focus. -->
<JqxComboBox aria-labelledby="country-label" theme="light" :source="countries" :width="200" :height="32" />
<JqxCheckBox theme="light">Gift wrap</JqxCheckBox>
<button type="submit">Save</button>
</form>
</template>
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 props.