Accessibility in ASP.NET MVC Stepper control

6 Dec 20243 minutes to read

The Stepper control followed the accessibility guidelines and standards, including ADA, Section 508, WCAG 2.2 standards, and WCAG roles that are commonly used to evaluate accessibility.

The accessibility compliance for the Stepper control is 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 control meet the requirement.
Intermediate - Some features of the control do not meet the requirement.
No - The control does not meet the requirement.

WAI-ARIA attributes

The following ARIA attributes are used in the Stepper control:

Attributes Purpose
aria-label Attribute provide a descriptive text that labels the interactive element for accessibility.
aria-current Attribute denotes the currently active step in the Stepper.
aria-disabled Indicates when the step is disabled and cannot be interacted.

Keyboard interaction

The following keyboard shortcuts are supported by the Stepper control.

Press To do this
Up Arrow Focuses the previous step in a vertical Stepper.
Down Arrow Focuses the next step in a vertical Stepper.
Left Arrow Focuses the previous step in a horizontal Stepper.
Right Arrow Focuses the next step in a horizontal Stepper.
Home Focuses on the first step of the Stepper.
End Focuses on the last step of the Stepper.
Enter / Space Activates the currently focused step.

Ensuring accessibility

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

The accessibility compliance of the Stepper control is shown in the following sample. Open the sample in a new window to evaluate the accessibility of the Stepper control with accessibility tools.

See also