HelpBot Assistant

How can I help you?

Accessibility in React Message component

20 Feb 20263 minutes to read

The Message component follows WCAG 2.2, Section 508, and ADA accessibility standards. This ensures that applications using the Message component provide an accessible experience for all users, including those using assistive technologies such as screen readers and keyboard navigation.

The accessibility compliance levels for the Message component are outlined below.

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

The Message component implements the WAI-ARIA alert pattern to ensure proper accessibility semantics. The following ARIA attributes are applied in the Message component:

Attributes Purpose
role=alert Used to convey a significant and contextual message to the user.
aria-label Provides an accessible name for the close icon.

Keyboard interaction

The Message component supports keyboard interaction according to the WAI-ARIA alert pattern guidelines. This enables users who rely on keyboard navigation or assistive technologies to interact with messages effectively. The following keyboard interactions are supported:

Press To do this
Tab / Shift + Tab To focus the close icon in the message.
Enter / Space Closes the focused close icon’s message.

Ensuring accessibility

Syncfusion validates the Message component’s accessibility compliance using industry-standard tools including accessibility-checker and axe-core during continuous automated testing.

The following sample demonstrates the accessibility features of the Message component. Open the sample in a new window to evaluate the component’s accessibility using your preferred accessibility testing tools.

See also