Autocomplete Token Order Validation
Based on W3C ACT Rules for autocomplete valid
Pass Examples
Pattern 4a: [contact-type] [contact-field]
Pattern 4b: [shipping|billing] [contact-type] [contact-field]
Pattern 1: section-* [any valid token]
Pattern 2: section-* [shipping|billing] [any valid token]
Pattern 3: section-* [shipping|billing] [contact-type] [contact-field]
Fail Examples
Fail: Invalid combination - [contact-type] with non-contact field
Fail: Wrong token order
Fail: Multiple inputs with wrong order
Inapplicable (N/A) Examples
N/A: Single token
N/A: Invalid token (Test 1238 handles this)
N/A: Empty autocomplete
N/A: No autocomplete attribute
N/A: Hidden input type
N/A: Button type
N/A: Submit type
N/A: Reset type
N/A: aria-disabled="true"
N/A: Hidden with display:none
N/A: aria-hidden="true"