~denials/evergreen/master

Viewing all changes in revision 23027.

  • Committer: Galen Charlton
  • Author(s): Jane Sandberg
  • Date: 2019-02-18 18:58:54 UTC
  • Revision ID: git-v1:fa490cf5308f26316d29d0fbc8178ca136236743
LP1796225: Only auto-focus search on the home page

For a11y and usability, it's better to autofocus form fields
only when they are the main purpose of a page.

To test:
1) In the public catalog, visit the search results, record view,
library details, basket, and password reset pages.  Notice that
the cursor leaps to the search bar in each of these pages.
2) Apply this commit.
3) Re-visit all those pages.  Notice that the cursor no longer
leaps to the search bar.
4) Visit the home page of the public catalog.  Notice that the
cursor still leaps to the search bar on this page only.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: