Performance: Input types (text, email, password, number)
LOW IMPACT
Input types affect page interactivity and validation speed, impacting how quickly users can enter and submit data.
<input type="email" id="email" name="email">
<input type="text" id="email" name="email">
| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| Generic text input for email | 1 input node | 0 reflows | Minimal paint | [X] Bad |
| Email input type | 1 input node | 0 reflows | Minimal paint | [OK] Good |
| Text input for number | 1 input node | 0 reflows | Minimal paint | [X] Bad |
| Number input type | 1 input node | 0 reflows | Minimal paint | [OK] Good |
| Text input for password | 1 input node | 0 reflows | Minimal paint | [X] Bad |
| Password input type | 1 input node | 0 reflows | Minimal paint | [OK] Good |