Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: a11y addon scrollbars and completed text overlays highlight checkboxes #24987

Open
WesselKroos opened this issue Nov 26, 2023 · 4 comments

Comments

@WesselKroos
Copy link

WesselKroos commented Nov 26, 2023

Describe the bug

  1. When the a11y addon panel has a scrollbar it overlays the highlight checkboxes which prevents you from clicking on a highlight checkbox.

image

  1. I also have the same issue with the "Tests completed" text that overlays the text and highlight checkbox of the last result when the panel is docked to the right:
    image

To Reproduce

  1. Open the a11y's Accessibility panel
  2. Lower the panel height to make it vertically scrollable
  3. Hover your mouse over a highlight checkbox
  4. A scrollbar appears which prevents you from clicking on the highlight checkbox

System

`npx storybook@latest info` hung after displaying the text "Storybook Environment Info:".

Additional context

It seems to be caused by the min-width css property on the ::before element of the scrollbar. (And I think the min-height on the ::before causes similar issues.)

The second issue can possibly be resolved by adding a padding-bottom to the scrollable content to acommodate for the "Tests completed" text.

@WesselKroos WesselKroos changed the title [Bug]: a11y addon scrollbar overlays highlight checkboxes [Bug]: a11y addon scrollbars and completed text overlays highlight checkboxes Nov 26, 2023
@shilman
Copy link
Member

shilman commented Dec 25, 2023

@cdedreuille is this something you can take a look at? i was easily able to reproduce

@syedbarimanjan
Copy link

syedbarimanjan commented Dec 27, 2023

@shilman is this still open can I work on if yes please guide me on where to start.

@cdedreuille cdedreuille self-assigned this Feb 19, 2024
@cdedreuille
Copy link
Contributor

I can take this one on but if you want to give it a try @syedbarimanjan please do. I can assist if you have any issues.

@syedbarimanjan
Copy link

I can take this one on but if you want to give it a try @syedbarimanjan please do. I can assist if you have any issues.

thanks alot i will start working on it and wont hesitate to ask for help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Empathy Backlog
Development

No branches or pull requests

4 participants