## [Bug] Low Contrast Between Text and Background in Calendar Action Buttons #217

Closed
opened 2026-05-28 19:45:19 +00:00 by enjin2310 · 1 comment

🧩 Summary

In the Calendar interface, the action buttons for Editar, Eliminar, and Cerrar have text colors that closely match their background colors. This low contrast makes the text difficult to read, reducing accessibility and user experience quality.

🧪 Steps to Reproduce

  1. Navigate to learn.spikersoft.com/calendar.
  2. Create or open any event.
  3. Observe the action buttons at the bottom of the Detalles del evento modal.
  4. Notice that the text color blends with the button background, especially under dark mode.

Expected Behavior

Button text should have sufficient contrast against its background to ensure readability and accessibility.
Example:

  • Editar button: light text on blue background.
  • Eliminar button: white text on red background.
  • Cerrar button: white text on gray background.

Actual Behavior

  • The text color is nearly identical to the background color.
  • Users may struggle to identify button labels, especially in low-light conditions or on certain monitors.

📸 Evidence

The attached screenshot shows the Detalles del evento modal with the Editar, Eliminar, and Cerrar buttons having poor text contrast.

🧠 Possible Root Cause

  • CSS color variables for button text not adjusted for dark mode.
  • Missing accessibility contrast checks in the theme configuration.
### 🧩 Summary In the **Calendar** interface, the action buttons for **Editar**, **Eliminar**, and **Cerrar** have text colors that closely match their background colors. This low contrast makes the text difficult to read, reducing accessibility and user experience quality. ### 🧪 Steps to Reproduce 1. Navigate to `learn.spikersoft.com/calendar`. 2. Create or open any event. 3. Observe the action buttons at the bottom of the **Detalles del evento** modal. 4. Notice that the text color blends with the button background, especially under dark mode. ### ✅ Expected Behavior Button text should have sufficient contrast against its background to ensure readability and accessibility. Example: - **Editar** button: light text on blue background. - **Eliminar** button: white text on red background. - **Cerrar** button: white text on gray background. ### ❌ Actual Behavior - The text color is nearly identical to the background color. - Users may struggle to identify button labels, especially in low-light conditions or on certain monitors. ### 📸 Evidence The attached screenshot shows the **Detalles del evento** modal with the **Editar**, **Eliminar**, and **Cerrar** buttons having poor text contrast. ### 🧠 Possible Root Cause - CSS color variables for button text not adjusted for dark mode. - Missing accessibility contrast checks in the theme configuration.
Owner

Fixed in spikerj/spikersoft-angular#9.

Root cause: the view-mode actions were transparent text buttons with primary/warn label colors, which blended into the dark modal background. Editar/Eliminar are now filled buttons (Material supplies an accessible on-color foreground — light text on blue / white on red) and Cerrar is a stroked button with an explicit readable foreground and visible outline that works in both themes.

Closing as resolved by the linked PR.

Fixed in spikerj/spikersoft-angular#9. Root cause: the view-mode actions were transparent text buttons with primary/warn label colors, which blended into the dark modal background. Editar/Eliminar are now filled buttons (Material supplies an accessible on-color foreground — light text on blue / white on red) and Cerrar is a stroked button with an explicit readable foreground and visible outline that works in both themes. Closing as resolved by the linked PR.
Sign in to join this conversation.