Problem
Product cards across furniture.html and catalog pages lacked interactive quickview dialogs, focus trapping, Escape key closing mechanisms, and synchronized wishlist state indicators across pages.
Current Behavior
Clicking on catalog product images did not present detail overlays, and wishlist button states desynchronized when items were removed from the wishlist page.
Why This Improvement Is Needed
Providing accessible modal quickviews and persistent wishlist status enhances user experience and allows quick item inspection without full page reloads.
Proposed Solution
- Create
scripts/product-modal.js handling accessible overlay creation, focus locking, Escape key handling, and quantity selection.
- Create
scripts/wishlist-sync.js managing cross-page wishlist synchronization and card button toggles.
- Update
furniture.html, wishlist.html, app.js, and style.css to support modal triggers and wishlist badge updates.
- Remove legacy file
Furnix-main/wishlist.html.
Expected Outcome
- Accessible modal dialogs for quick product preview.
- Seamless wishlist synchronization across catalog pages.
Additional Notes
Follows WCAG modal guidelines for focus trap and keyboard control.
Problem
Product cards across
furniture.htmland catalog pages lacked interactive quickview dialogs, focus trapping, Escape key closing mechanisms, and synchronized wishlist state indicators across pages.Current Behavior
Clicking on catalog product images did not present detail overlays, and wishlist button states desynchronized when items were removed from the wishlist page.
Why This Improvement Is Needed
Providing accessible modal quickviews and persistent wishlist status enhances user experience and allows quick item inspection without full page reloads.
Proposed Solution
scripts/product-modal.jshandling accessible overlay creation, focus locking, Escape key handling, and quantity selection.scripts/wishlist-sync.jsmanaging cross-page wishlist synchronization and card button toggles.furniture.html,wishlist.html,app.js, andstyle.cssto support modal triggers and wishlist badge updates.Furnix-main/wishlist.html.Expected Outcome
Additional Notes
Follows WCAG modal guidelines for focus trap and keyboard control.