PriyaGhosal / BuddyTrail

This repository is officially part of GirlScript Summer of Code 2024 Extended Edition!
https://buddytrail.netlify.app/
MIT License
89 stars 229 forks source link

BUG:UI Contrast Issue in Cards on Main Page #884

Open shantanu020 opened 2 hours ago

shantanu020 commented 2 hours ago

Is there an existing issue for this?

What happened?

Description: I’ve noticed a UI issue on the main page where the contrast between the text and background in the cards (Travel, Hotel, Fly) is quite low. This makes the text hard to read, especially for users with visual impairments or when viewed in different lighting conditions. It could be improved to enhance accessibility and readability.

Steps to Reproduce:

Visit the main page. Scroll to the section with the “Travel,” “Hotel,” and “Fly” cards. Observe the light text on a light background, especially in the card descriptions. Expected Behavior: The text should be easily readable with higher contrast, ensuring that both the card titles and descriptions stand out. The color of the text should have a significant contrast difference from the background, following WCAG 2.1 contrast guidelines.

Observed Behavior: The light-colored text on the cards blends into the background, reducing readability. Screenshot 2024-10-17 173326

Record

github-actions[bot] commented 2 hours ago

Thank you for creating this issue! 🎉 Your issue will soon be reviewed by either the PA or a mentor. Please note that Level 1 is temporary and can be changed during the review. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊

You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

github-actions[bot] commented 2 hours ago

Thanks for creating the issue in BuddyTrail! Before you start working on your PR, please make sure to:

shantanu020 commented 2 hours ago

Suggested Solution:

Increase Contrast: Darken the text or adjust the background to create a clearer visual distinction. Alternative Color Schemes: Consider using bolder colors for titles and descriptions or applying a gradient overlay behind the text. Use CSS for Text Shadow: Adding a subtle shadow effect can also help improve readability without changing the color scheme significantly.