Submit button uses div instead of button element

Verdict and Severity

Verdict
fail
Severity
Highest
Confidence
high
Status
new
Rule
rule:web-buttons-vs-links

User Impact

Screen reader and keyboard users cannot submit the checkout form.

Evidence

Expected Behavior
The submit control should be a <button> element.
Actual Behavior
A <div> with onclick is used.

Why It Matters

The submit button is a styled div. Screen reader users cannot activate it.

Recommendation

Replace the <div> with a <button type="submit">.

Validation Steps

  1. Tab to button
  2. Activate with Enter/Space
  3. Test with NVDA

Standards Mapping

Standards Basis
TAS-primary
Source Tier
Tier 2: Platform techniques
Target Standards
TGT-SEMANTICS-001
WCAG Success Criteria
4.1.2

Confidence and Caveats

Deterministic check: element is a div with no button role.

Back to all findings