-
Notifications
You must be signed in to change notification settings - Fork 2
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
Ruler makes links unclickable on some pages #18
Comments
The "Dyslexia Friendly" Chrome extension creates a ruler on the page which overlaps the text on some pages like ours so that links cannot be clicked on. This makes the ruler a bit smaller so links work again. Reported and can be removed again after this has been fixed: javoire/dyslexia-friendly#18
I will deploy a hack to fix this on that example site next week, so you won't experience it happening there after that. Unless you temporarily disable that hack via the browser's inspector. |
Hi, thanks for your feedback! That's indeed a silly bug, thx for finding it, I made a fix here #19, hoping to ship it in a few days. Cheers! |
fixed at https://github.com/javoire/dyslexia-friendly/blob/master/src/css/contentscript.css#L79 A new version has been released in Chrome Web Store |
The ruler makes links unclickable on some pages because it overlaps the text and links closer to where the pointer is.
Example site where this is happening: https://alphagov.github.io/accessibility-personas/simone/
I suspect this happens because the ruler height is set in
em
while the top position is set inpx
.I have fixed this locally by adding a
max-height: 20px;
but the better fix would be to make the JS for the top position aware of theem
size and reposition itself accordingly. Or make the ruler height usepx
. Although that would mean it wouldn't fit the height of the text correctly, you could also re-calculate theem
intopx
to fix that.The text was updated successfully, but these errors were encountered: