Closed Bug 1429688 Opened 2 years ago Closed 2 years ago
focus Search Bugs box by default
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?
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
OK. That behaviour (focusing <main> by default) seems useful for bug pages, etc., but maybe not for the main page. Thanks!
Just used the `autofocus` attribute for the quick search box.
Attachment #8942031 - Flags: review?(dylan)
PR landed to master.
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Attachment #8942031 - Flags: review?(dylan) → review+
Severity: normal → enhancement
You need to log in before you can comment on or make changes to this bug.