diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 42adb44..301e978 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,7 +5,7 @@ version: 2 updates: - - package-ecosystem: "npm" - directory: "/" + - package-ecosystem: 'npm' + directory: '/' schedule: - interval: "weekly" + interval: 'weekly' diff --git a/.jules/palette.md b/.jules/palette.md new file mode 100644 index 0000000..05a3f1f --- /dev/null +++ b/.jules/palette.md @@ -0,0 +1,3 @@ +## 2024-10-27 - Search Input Accessibility +**Learning:** The `@smui/textfield` component relies on `on:keyup` in existing patterns, which misses non-keyboard inputs like paste. Using `on:input` is more robust. Also, `@smui/circular-progress` lacks default accessibility labels. +**Action:** When implementing search or text inputs, prefer `on:input`. Always add `aria-label` to loading indicators. diff --git a/src/components/DomainPayment.svelte b/src/components/DomainPayment.svelte index ac131ee..e04970d 100644 --- a/src/components/DomainPayment.svelte +++ b/src/components/DomainPayment.svelte @@ -102,7 +102,11 @@

{domainName}

- addYears(-1)} disabled={years === 1 || feesApproved} aria-label="remove-year"> + addYears(-1)} + disabled={years === 1 || feesApproved} + aria-label="remove-year" + > {years} {yearsLabel} @@ -111,7 +115,7 @@
-
+

Payment token