diff --git a/.jules/palette.md b/.jules/palette.md new file mode 100644 index 0000000..b7389cb --- /dev/null +++ b/.jules/palette.md @@ -0,0 +1,3 @@ +## 2025-05-15 - Accessible Custom Interactive Elements +**Learning:** For custom interactive elements (e.g., `div` as a product item), adding `role="button"` and `tabindex="0"` is only half the battle. To ensure full keyboard operability, explicit listeners for both 'Enter' and 'Space' must be implemented in JavaScript to mirror native button behavior. +**Action:** Always pair `tabindex="0"` on non-interactive elements with a `keydown` handler that triggers the primary action on 'Enter' and 'Space'. diff --git a/index.html b/index.html index a488a43..3a82ba8 100644 --- a/index.html +++ b/index.html @@ -104,11 +104,11 @@

Divineo Studio

Catálogo Shopify

-
+
BALMAIN SLIM

1.290 €

-
+
LEVIS 510

110 €

@@ -123,7 +123,7 @@

Catálogo Shopify