diff --git a/.jules/palette.md b/.jules/palette.md index 00f41cdf..11ce4d89 100644 --- a/.jules/palette.md +++ b/.jules/palette.md @@ -1,3 +1,7 @@ ## 2024-10-24 - Accessible Icon Props and Loading Button State **Learning:** Svelte wrapper components (like `Icon.svelte`) must spread `$$restProps` to allow passing accessibility attributes (e.g., `aria-label`) from parent components. Without this, icons remain inaccessible to screen readers. Also, persistent "Success" states on buttons can be confusing; auto-resetting them after a timeout improves clarity. **Action:** Always include `{...$$restProps}` in wrapper components and implement auto-reset logic for temporary success states in interactive elements. + +## 2024-10-25 - ARIA Attributes for Interactive SMUI Trigger Elements +**Learning:** When using SMUI components like `