Increasing font size breaks image upload
Reported by joeks | May 20th, 2011 @ 01:22 PM
What I did:
I use an extension for Firefox called "NoSquint" that increases the
text size for web pages, 120% by default. I signed up, clicked the
pink "New Post" button, and clicked "Upload an image", but the link
with the text "image" just reloaded the page I was already on.
Reducing the text size to 100% made image upload work as normal.
What I expected to happen:
I expected a file prompt when I clicked the "image" link.
What actually happened:
Essentially, the larger text changes where the file input is placed
in the dialog. The file input moves up, so that it is on top of the
word "Upload". (See the attached image "large-text-busted". The
location of the file input is shown in light blue.)
Consider positioning the input in a way such that it's always in the same place as the "image" link. Also, consider changing the link's href to "#", instead of blank, so that if the user does manage to click the link, the page does not refresh or change location, which can be jarring. Lastly, consider a small piece of JS to activate the file input if the user happens to click the link. Though now that I think of it, I'm not sure if the DOM API has a function to activate a file input.
No comments found
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
MLKSHK it's fun for the whole family.