imperfectandcompany / Imperfect-Gamers-Site-Store

Our robust community site integrating Steam for enhanced user interactions and data management, powered by Remix with Tailwind CSS for optimistic, responsive UI. Features CI/CD with GitHub Actions and Docker for seamless deployment and maintenance.
https://store.imperfectgamers.org/
Other
0 stars 0 forks source link

Confusion with Cursor Pointer and Default Styles in Custom Cookie Consent Banner #75

Open cheesea3 opened 1 month ago

cheesea3 commented 1 month ago

We've encountered an issue in our repository regarding the cursor pointer and default styles in our custom cookie consent banner and modal. Due to our implementation of accessibility features using roles, there's confusion with cursor pointer behavior where it's not intended and vice versa.

Steps to Reproduce:

  1. Open the website/application and trigger the cookie consent banner.
  2. Attempt to interact with the elements within the banner and modal.
  3. Observe the cursor behavior inconsistently applying pointer and default styles.

Expected Behavior:

Actual Behavior:

Additional Context: This issue stems from our implementation where buttons were created from <div> elements using roles for accessibility purposes. While this setup was necessary for onclick functionality and accessibility compliance, it has inadvertently led to confusion regarding cursor behavior.

Proposed Solution:

Screenshot:

image