Skip to content

Position of Popup #7

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

Open
SteveJonesDev opened this issue Sep 27, 2023 · 1 comment
Open

Position of Popup #7

SteveJonesDev opened this issue Sep 27, 2023 · 1 comment
Labels
a11y Accessibility

Comments

@SteveJonesDev
Copy link
Member

A site was being tested by a user with very poor vision so using a lot of font size increase and magnification. One issue was that the popup was not visible or obscured some of the link words (the link was about 10 words long and ran into multiple lines).

This also occurs when the link is that the bottom of a screen. If a link is at the bottom of what is currently visible, the popup is below and offscreen.

It was also reported that since the popup is attached to the mouse movement, users with physical issues such as shaking hands would see a constantly moving message and not be able to read it easily.

The request from the testers was that the popup alert be positioned above the element, and attached to the “top left” corner of the element. So that it would not move on mouse movement, and also so it would be visible for content lower on the screen.

I’m sure there is some room for debate about being attached to “top” of element vs “bottom” of element might be better. But the testers felt that attaching to top would be better as they are more likely to be on a link at the bottom of the screen than at the top.

Very much appreciate the plugin and keep up the good work Equalize Digital!

Support Ticket: https://wordpress.org/support/topic/change-position-of-popup/

@SteveJonesDev SteveJonesDev added the a11y Accessibility label Sep 27, 2023
@joedolson
Copy link

I suggest observing whether one side of the element is currently outside of the viewport, and choosing the side that's in the viewport when possible. (Considering the hypothetical where neither side is in the viewport.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y Accessibility
Projects
None yet
Development

No branches or pull requests

2 participants