Files
AEmotionStudio-ComfyUI-Shad…/web
google-labs-jules[bot] 5b2c5868bc 🎨 Palette: Improve modal accessibility and copy feedback
💡 What:
- Exposed the `showToast` utility from `web/shader_params_save_button.js` as `window.showComfyToast`.
- Updated `web/matrix_button.js` to use `window.showComfyToast` for the "Copy Code" feedback.
- Added `:focus-visible` styles to the "Shader Matrix" modal buttons and tabs.

🎯 Why:
- To provide consistent and delightful feedback when copying code snippets.
- To improve accessibility for keyboard users by making focus states clearly visible.

📸 Before/After:
- Before: Copy button text changed to "Copied!". No visible focus ring on dark modal buttons.
- After: "Code copied to clipboard!" toast appears. Interactive elements have a bright purple focus ring.

♿ Accessibility:
- Added `:focus-visible` outline styles using the theme's accent color.
2026-01-24 07:19:36 +00:00
..