Skip to content

Automated accessibility tests - GlToggle

Description

Implement automated accessibility tests for the GlToggle component. Automated accessibility tests use the axe-core engine to find issues on GitLab UI components.

What to test?

  • default
  • with description
  • with label position equal to hidden

How to write tests?

Implementation guide

Read the axe accessibility test documentation to learn how to implement automated A11Y tests using the axe-core addon in Cypress.

Implementation examples

Edited by Paulina Sedlak-Jakubowska