Closed
Bug 1429688
Opened 8 years ago
Closed 8 years ago
focus Search Bugs box by default
Categories
(bugzilla.mozilla.org :: User Interface, enhancement)
Tracking
()
RESOLVED
FIXED
People
(Reporter: heycam, Assigned: kohei)
References
Details
Attachments
(1 file)
Some change happened recently and now on BMO the element on the page with default focus seems to be different. Or at least, the tab order is now different. It used to be I could press Tab once the page loaded and focus the quick search box. Now the first thing focused when I press Tab is the Documentation link.
Can we focus one of the search boxes by default?
Assignee | ||
Comment 1•8 years ago
|
||
Now `<main>` gets focus by default so people can immediately scroll down with the down arrow key. In this case I think the tab order can be changed with the tabindex attribute. Will take a look.
Assignee: ui → kohei.yoshino
Status: NEW → ASSIGNED
Product: Bugzilla → bugzilla.mozilla.org
QA Contact: default-qa
Version: unspecified → Production
Reporter | ||
Comment 2•8 years ago
|
||
OK. That behaviour (focusing <main> by default) seems useful for bug pages, etc., but maybe not for the main page. Thanks!
Assignee | ||
Comment 3•8 years ago
|
||
Just used the `autofocus` attribute for the quick search box.
Assignee | ||
Updated•8 years ago
|
Assignee | ||
Updated•8 years ago
|
Attachment #8942031 -
Flags: review?(dylan)
Assignee | ||
Comment 4•8 years ago
|
||
PR landed to master.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Attachment #8942031 -
Flags: review?(dylan) → review+
Assignee | ||
Updated•8 years ago
|
Severity: normal → enhancement
You need to log in
before you can comment on or make changes to this bug.
Description
•