562 B
562 B
name, description, type
| name | description | type |
|---|---|---|
| Empty error elements are intentional | Always-rendered error paragraphs with min-height prevent layout shift when errors appear | feedback |
Always-rendered <p class="error">{error}</p> elements with min-height: 1.4em are intentional — they reserve space so surrounding elements don't shift when an error message appears.
Why: Layout stability during form validation feedback.
How to apply: Do not suggest wrapping these in {#if error} or removing the min-height. This is a deliberate UX choice, not an oversight.