As of about a week or two, space and shift-space can no longer be used to scroll the page when an upvote or downvote arrow is focused, specifically in recent versions of Firefox.
Steps to reproduce:
Sorry I haven't run extensive tests on various OSes/browsers/versions, but I can confirm this bug is present on the following:
And I can confirm everything works as expected on Chrome on all three platforms.
For what it's worth, I've taken a look at the Firefox 17.0 release notes and perused the full bug list, but I haven't seen anything that appears to be relevant. So my hunch is that this is due to a reddit code change.
That would probably be the tabindex=0 change here: 2ddfab7
Hmm, yeah. I can confirm that removing tabindex="0" via Firebug fixes it.
Any idea for a workaround?
I could see just letting this be as is if the space bar actually fired the button, but as it is, it neither votes nor scrolls, which makes very little sense.
Hrm, I've tried a few things, such as getting the keyup/keydown/keypress handlers on the arrows to call .preventDefault() on the event, but that doesn't appear to be working. Any idea as to what Firefox is doing here exactly?
So, are there no plans to address this at all? To summarize, Firefox users can no longer scroll a page with the space bar after having voted on that page. This is a bad thing.
This is a bug in Firefox and should be fixed in Firefox. I found the relevant code but I don't have the expertise to fix it. https://bugzilla.mozilla.org/show_bug.cgi?id=915962