-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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]: Addon-a11y displays visual bug when running the tests #24450
Comments
Will also take this one :) if it's going :) |
Hey @yannbf can you please tell me the steps to produce this bug? can you please assign me this issue? |
Hi! @yannbf I'm working on this issue, but I have a question regarding the solution. It seems that with this change in #6563, the Highlight results section is moved when the width of the Container is small(450px). However, when clicking on Tests completed, the value of width from useResizeDetector becomes undefined, causing it to be perceived as having a small width even on a PC display. file: To resolve this issue, We could hide the Highlight results element until the width of the Container is obtained. However, it disappears every time width-undefined.mp4Alternatively, we could stop moving the Highlight results based on the Container's width and fix its position. Then, if it's less than 450px, it can be viewed through scrolling. Which approach seems better? Thanks! |
Hey @yoshi2no thanks for working on it! I'll leave it up for @cdedreuille to give his opinion design-wise. |
I think your second option seems the most appropriate since we need horizontal scrolling anyway. The only thing I would add based on what your shared is that we need to add padding on the right to make sure the checkbox is not touching the sides. |
I don't even think this needs the resize observer and this can be fixed in a CSS only solution. Happy to work on this if someone assigns this to me. |
@JohannesFischer feel free to propose a PR, we'd love to see it :) |
Describe the bug
The "Highlight results" checkbox gets misplaced as you run the a11y tests:
To Reproduce
System
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: