Entry, settings and wayfinding

Help people start a task, find their way back and choose how the product works.

First use and onboarding

On an empty reading list, offer “Add your first link”. Let people save something useful before asking them to learn the rest of the product.

Implementation guide for first use and onboarding

When to use it

Explain unfamiliar value or a necessary setup choice immediately before it matters. Prefer a useful empty state and one primary action over a mandatory tour. A short guided sequence is justified when order matters; optional education remains skippable and discoverable later. Do not use onboarding to force marketing consent or demand profile fields unrelated to the task.

States and recovery

First visit → optional explanation → minimum input → useful result. Include skipped, returning, resumed incomplete setup, invalid input and unavailable service. Preserve completed steps when going back. If saved progress is unavailable, explain what must be repeated. Do not claim “ready” while a required operation is still pending.

Keyboard and screen readers

Give the page a purpose-led heading and a specific action such as “Add your first link”. For a genuine sequence, use an ordered list with the current step identified in text and aria-current="step"; this is not a tablist. On a user-triggered step transition focus its heading or first relevant control. Validation follows P03.1. Announce only the completion/result that is not otherwise surfaced by focus.

Layout and preferences

Keep the main action near the explanation; stack rather than shrink at narrow widths. Step labels must wrap; a horizontal progress diagram is optional. Education cannot depend on animation, swipe, hover or colour. The software keyboard must leave the input and next action reachable.

Implementation

Use native fields/buttons and the form lifecycle for each necessary step, app-shell navigation for the resulting workspace and ordinary disclosure for optional help. Example: Common opens on an empty “Saved links” view, accepts a title and URL, then reveals the saved item with an “Add another link” action. This is a written scenario; a product implements validation, safe URL handling and actual persistence. Avoid a modal containing the entire first-use journey.

Data and permissions

Ask only for information needed now. Choose explicitly whether drafts stay in memory, local storage or a protected service; do not imply private durable storage from the example. Request device permission when the user activates the capability, not on first page load.

Checks to run

  • A new user reaches one useful result without a surprise account gate.
  • Skip and return reveal the same core task; Back preserves entered values.
  • Failed setup can resume without duplicate creation or false success. Run with keyboard, long step labels and the shared preference matrix. Not verified; edition 0.2.0-rc.2.

Links, navigation and Back

Give each destination an address people can bookmark. When someone opens a result and goes back, restore the list they came from.

Implementation guide for links, navigation and back

When to use it

Give independent destinations real URLs. Use tabs for related panels in one view, disclosure for a short navigation list, and an action menu for commands. Prefer a page for work worth bookmarking or with substantial content; use a modal for a bounded task whose parent context remains useful. A modal is not the default way to avoid page navigation.

States and recovery

Initial route, direct link, loading, ready, missing destination, forbidden and failed load are distinct. Define what is restored on Back/Forward: destination, relevant filter/tab, scroll and focus. A removed item needs a useful return route. Preserve valid unrelated query/history state. Refresh must not reset the user to a generic home screen or leak an unauthorised destination.

Keyboard and screen readers

Label navigation landmarks; use anchors and aria-current="page" for the actual location. Breadcrumbs reflect hierarchy rather than click history. A client-side route needs an updated document title and a consistent focus destination, usually the main heading, after explicit navigation. History restoration may restore the previous location instead; never focus a hidden panel. Do not double announce a heading through focus and a route live region. Modified clicks and new tabs remain native.

Layout and preferences

Compact navigation uses the existing nonmodal disclosure. Test focus while the rail/toggle crosses its content-width breakpoint. Long destination names wrap; mobile users retain the same destinations. Avoid fixed bottom chrome until its keyboard/safe-area behaviour is deliberately implemented. Verify RTL order and focus independently of visual placement.

Implementation

Use .ex-app-shell, .ex-site-nav, .ex-nav-link, enhanceNavigation, breadcrumbs and enhanceTabs as appropriate. Example route contract: /collections lists collections; /collections/travel identifies one collection; ?q=train represents a public nonsensitive search filter. These are illustrative routes, not created endpoints. The product owns router parsing, route existence, loading, request cancellation, titles and focus. The reference's paired-theme history helper is not a production router API.

Data and permissions

Authorise direct requests as well as navigation. Restrict post-sign-in return destinations to approved internal routes. Query strings and page titles must not expose secrets. Actual server 404/403 behaviour follows P03.4; do not return a successful app shell for every missing file.

Checks to run

  • Open a deep link in a new tab, refresh, traverse Back to the initial view and Forward again.
  • Navigate across both theme specimens or product theme changes without focusing a hidden destination.
  • Cross the navigation breakpoint with focus in the rail and on its toggle; verify current location and reachability.
  • Stale response from an abandoned route cannot replace the current view. Not verified; edition 0.2.0-rc.2.

Search and filters

Show which filters are active. If there are no matches, offer a way to clear them and browse again.

Implementation guide for search and filters

When to use it

Add search when browsing becomes inefficient. A short list may need good labels and grouping instead. Use filters for known properties; do not force users to guess a query. Prefer native select or checkbox/radio controls before a custom combobox. Sorting changes order; filtering changes membership; label these separately.

States and recovery

Empty query, fetching/index unavailable, results, zero matches, filters excluding everything, partial/stale results and request failure each need truthful copy. “No results” cannot mean “search failed”. Keep the last usable result set during a retry and label stale content. Offer clear query and reset filters as distinct actions where users may want to keep one. Ignore stale asynchronous responses and avoid remote queries during unfinished text composition.

Keyboard and screen readers

A labelled type="search" input sits in a search landmark or labelled search form. Results use a list of meaningful destination links. Keep focus in the input during incremental results; announce a concise settled count in one polite status. Do not announce every keystroke or wrap the whole results list in a live region. Filtering never silently opens a result. An explicit submit may focus the results heading if that is the documented interaction.

Layout and preferences

Put essential filters in normal flow or a named disclosure; show active values when collapsed. Preserve shared select chevron spacing and full result labels at 320px and enlarged text. Filter controls remain keyboard/touch operable; no drag-only arrangement. Use logical order and locale-aware matching decisions; document supported languages rather than assuming all scripts work.

Implementation

Use native search input, select/checkbox groups, secondary clear/reset buttons, ordinary result links and persistent status. Example: Common's query “train” returns matching saved links; selecting “Pinned only” updates the count; clearing that filter restores other matches. The existing public resource's local index is a bounded implementation example, not a released universal search API. Product code owns query parsing, URL persistence, pagination, matching, debounce/cancellation and failure states.

Data and permissions

A public downloadable index must contain public content only. For private search, filter permissions before returning results, snippets, counts or suggestions; hiding result rows is insufficient. Treat queries as untrusted text. Avoid collecting search history without a stated purpose and retention policy.

Checks to run

  • Clear query, reset filters and Back/refresh restore the expected state.
  • Zero matches and unavailable index/API yield different recovery.
  • Rapidly changing queries cannot show an older response as current.
  • An unauthorised item is absent from results, snippets and counts in actual server tests. Conditional private-search case is not applicable to a genuinely public local index; document why. Edition 0.2.0-rc.2; not verified.

Settings and preferences

Use an icon for appearance, a switch for an on/off setting, and a labelled choice for a list. Remember the person’s preference.

Implementation guide for settings and preferences

When to use it

Use the compact appearance button for System, Light and Dark. A switch suits an immediate on/off setting such as reduced motion. Label settings stored only on this device when that matters.

States and recovery

Follow the device by default. Apply explicit choices immediately. If storage is unavailable, keep the page usable. Explain when a choice cannot be remembered if the task depends on it.

Keyboard and screen readers

The icon button names its current and next preference. Enter, Space and tap change the choice. Keep focus on the control. Give switches stable labels and retain visible words for unfamiliar or consequential actions.

Layout and preferences

Apply the saved theme before first paint. Check fields, overlays and messages in both themes. Returning to System should restore live device changes.

Implementation

Bind the stable core helper to a button in the toolbar. Keep its 44px target and the project's existing preference key.

<button type="button" id="appearance" class="ex-button ex-button--quiet ex-icon-button"
  aria-label="Appearance" disabled></button>
<script type="module">
  import {bindAppearanceButton} from './vendor/evolutive-x/core/appearance.js';
  bindAppearanceButton(document.querySelector('#appearance'), {storageKey: 'project-appearance'});
</script>

Data and permissions

Store only accepted theme values in this preference. Check ownership before saving an account-wide setting.

Checks to run

  • Choose each preference, reload and visit another page.
  • Change the device theme in System, Light and Dark.
  • Deny storage and use the page.
  • Confirm that changing a preference preserves focus and updates dialogs.