pressidium / pressidium-cookie-consent

🍪 Lightweight, user-friendly and customizable cookie consent banner to help you comply with the EU GDPR cookie law and CCPA regulations.
https://wordpress.org/plugins/pressidium-cookie-consent/
GNU General Public License v2.0
48 stars 2 forks source link

Set text color when a button is hovered #44

Closed over-engineer closed 10 months ago

over-engineer commented 10 months ago

Initially suggested by @formaciongrafica in #43.

Using the plugin I have seen that it does not have options for the hover color of the primary and secondary button texts. In some cases this can generate accessibility problems due to the low contrast between the background colors and texts of the hover states of these buttons.

The contrast problem is in order to comply with the GDPR, offering designs on both buttons so that they do not induce the user to choose one option over another.

We should add options to set a different color for the text when the primary/secondary buttons are hovered.

over-engineer commented 10 months ago

This issue was addressed in 1.3.0, which was just released on the Plugin Directory.

Thanks @formaciongrafica for your suggestion! :tada: