HelpBot Assistant

How can I help you?

Accessibility in React Query Builder component

2 Mar 20263 minutes to read

The Query Builder component adheres to accessibility guidelines and standards, including ADA, Section 508, WCAG 2.2 standards, and WCAG roles commonly used to evaluate web accessibility.

The following table outlines the accessibility compliance features of the Query Builder component.

Accessibility Criteria Compatibility
WCAG 2.2 Support Yes
Section 508 Support Yes
Screen Reader Support Yes
Right-To-Left Support Yes
Color Contrast Yes
Mobile Device Support Yes
Keyboard Navigation Support Yes
Accessibility Checker Validation Yes
Axe-core Accessibility Validation Yes
Yes - All features of the component meet the requirement.
Intermediate - Some features of the component do not meet the requirement.
No - The component does not meet the requirement.

WAI-ARIA attributes

WAI-ARIA (Web Accessibility Initiative – Accessible Rich Internet Applications) provides a framework for enhancing the accessibility of web applications. It defines semantic roles, states, and properties that communicate component purpose and current state to assistive technologies like screen readers.

The Query Builder uses the following WAI-ARIA attributes:

Attributes Purpose
role Identifies the Query Builder component to assistive technologies.

Keyboard interaction

The Query Builder provides keyboard support for efficient navigation and interaction without requiring a mouse. Users can navigate between fields, operators, and values; manage rules and groups; and control the component using standard keyboard shortcuts and focus management.

The Query Builder component followed the keyboard interaction guideline, making it easy for people who use assistive technologies (AT) and those who completely rely on keyboard navigation. The following keyboard shortcuts are supported by the Query Builder component.

Press To do this
Tab / Shift + Tab To focus the next item in the rule.

Ensuring accessibility

The Query Builder component’s accessibility levels are ensured through an accessibility-checker and axe-core software tools during automated testing.

The accessibility compliance of the Query Builder component is shown in the following sample. Open the sample in a new window to evaluate the accessibility of the Query Builder component with accessibility tools.

See also