Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Search is used to filter a list or find context-specific content.

Overview

Search is accessed by tapping on the search bar (A), which is located at the top of lists or content, immediately below the title bar.

The search bar scrolls with content.

When the page view loads, the search bar may be visible or hidden beneath the title bar depending on the app. If hidden, the search bar is accessible by scrolling up on the view.

Search can also be opened in a dedicated search view by tapping on a tab or action button.

Interaction — search filtering

The user taps the search bar to enter search mode.

The user then enters keywords to perform their search.

Matching characters are highlighted within the search results. The user taps on a result to view the item.

  1. A clear button (A) will show up once the user begins typing in the search field.
  2. Tap Cancel button (B) to exit the search mode.

The user is delivered to their desired content.

The user taps the search button to enter search mode.

The user then enters keywords to perform their search.

Matching title results appear in a list and update dynamically as the user types. The user taps a title to select it.

  1. A clear button (A) will show up once the user begins typing in the search field.
  2. Tap Cancel button (B) to exit the search mode.

Content matching the selected title is displayed. At any point the user can tap the cancel button to return to the first screen.

Implementation guides

None as yet.

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, chrisdavidmills-github, swilkes
 Last updated by: chrisdavidmills,