Playwright

Audit an accessible signup

Medium70 pts
  • Accessibility
  • getByLabel
  • a11y
Practice app · Workshop Registration

A registration form with text fields, radios, checkboxes, selects and validation.

Test URL
/lab/playwright-audit-an-accessible-signup

Your starter code already declares TEST_URL — never hardcode a host.

Objective

Verify that all form inputs have accessible labels and that the submit button is available.

Your Task

  1. 1Navigate to the form scenario page.
  2. 2Locate the first name input by its accessible label 'First name' and verify it is visible.
  3. 3Locate the email input by its accessible label 'Email' and verify it is visible.
  4. 4Assert that the submit button #submit-button is visible.

Validation Checks

  • Interacts with form inputs via accessible labels
  • All required inputs accessible and visible
  • At least 2 assertions pass

Playwright · Playwright Practice Track · Visual & accessibility