Open Bug 506196 Opened 14 years ago Updated 6 months ago
Smart keyboard scrolling on pages with frames
(Firefox :: Keyboard Navigation, defect)
(Reporter: ideal.wood2001, Unassigned)
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5 When visiting a page composed of frames (and none of them is focused, for example right after the page is loaded), Firefox should redirect scrolling keyboard shortcuts (arrows, page up, page down, home, end, space, shift-space, plus cmd-up/down on Mac, and possibly backspace and shift-backspace depending on browser.backspace_action) to what is most likely the content frame. This is quite useful, particularly with "toolbar" websites (which probably had a significant rise in widespread use since the Diggbar). Opera and Safari do this. I don't know their exact algorithms for determining which frame to scroll, but we could start with a very basic approach: if there's only one frame with scrollbars, scroll it. That's enough for pretty much every toolbar, and probably for most menus too. Reproducible: Always Steps to Reproduce: 1. Visit a website that uses frames. Example: http://www.isitfunnytoday.com/view.php?id=8803 2. Try to scroll through the website with the keyboard: press the space bar. Actual Results: Nothing happens. Expected Results: On websites where there's an obvious content frame, scrolling should work fine. Some other possible algorithms for determining the content frame: * Look for the largest scrollable frame (as defined by pixels occupied on screen). * Look for the largest scrollable frame with "*" dimensions. * Don't try to be too smart; simply refuse to guess when there's more than one scrollable frame.
|Comment hidden (abusive-reviewed)|
6 months ago
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.