Covers, media and shelves

Covers and media cards, the A to Z list, load more, series header and shelf.

Covers and media cards

Covers at 2:3; audiobook squares are letterboxed, not cropped. Small, Medium and Large come from the account's cover size setting.

  • The Glass Harbour
    Mara Ellison · Book 2
  • Salt Roads
    J. Okafor
  • No cover
    Unknown author
  • Square audioAudiobook
    Read by Sam Oduya

Behaviour

  • Pressing a book opens its summary slide-out; the full page is a link inside it.
  • The focus ring sits on the cover, so it is visible on any artwork.

A to Z jump list

Over a long wall of covers: # for titles that start with a number, then A to Z, from the sort title ("The Expanse" is under E, "Émile" under E). Letters with nothing are shown but cannot be chosen, and say so to screen readers. It sticks under the header; the letter in view is marked with a bar. One Tab stop: Arrow keys, Home and End move, Enter jumps and focus moves to the letter's heading. On phones the row scrolls sideways. Classes: .az-jump, .az-jump__letter, [aria-disabled="true"], .wall-letter. Behaviour: SharedComponents.azLetter(title), azJump(nav, letters), azGo(nav, letter) and the az-jump event for a wall that shows 40 at a time.

#

  • 24
    242001 to 2010
  • 1917
    19172019

A

  • The Long Tide
    The Long Tide2024
  • The Night Ferry
    The Night FerryHarbour Radio

B

  • Blue Planet II
    Blue Planet II2017
  • Bluey
    Bluey2018 to now

Load more as you scroll

UX-52. A long list loads its next page as its end comes into view, and keeps a real Show more button for keyboard and screen reader users. While it loads, a line says "Loading the next 40"; then a screen reader hears "40 more shown" and focus stays where it was. After three pages in a row it stops, so the footer stays in reach, and the button carries on. The button is the only way when Reduce motion is active, when the person's setting asks for it, or without script. Pressing it moves focus to the first new item. Classes: .load-more, .load-more__count, .load-more__status. Behaviour: SharedComponents.loadMore(box, { load, items, noun, pageSize, auto, maxAuto }), with reset() after a new search, filter or A to Z jump.

    When to use it

    • Long walls and lists people browse, such as a library or a history, where the order is the point.

    When not to

    • Results people compare or come back to by position, a table to sort, or a page with things after the list that people need: use pages or Show more alone.

    Keeping the footer in reach

    • It loads only when the end of the list comes into view, never on a timer, and stops after three pages in a row. The A to Z list and Back to top keep working.

    Series header and logo

    UX-43. The top of a series (or radio show) page. A logo with a transparent background is drawn in one solid colour with a CSS mask (.logo-mask), so it follows every theme; each logo uses the text colour or the accent colour. With no logo, the name is set large as a wordmark. The name is always the page's h1. The fan of covers is decoration and is hidden on phones; the books are listed after it. The logo here is made up.

    The Glass Harbour series

    By Mara Ellison6 books and 1 story collectionNext: book 7, Low Water, 12 March 2027

    A harbour town where the lighthouse keeper keeps more than the light. Quiet mysteries, one each winter.

    4 of 6 books in your library

    Salt Roads

    By J. Okafor3 books

    Salt Water Hour

    BBC Radio 4 Extra13 episodes

    Open in Reelix

    Behaviour

    • Logos are saved once on the server and shared by everyone; admins add, change or remove them in the Series logo slide-out.
    • Three ways: From a cover (draw a box, threshold, Invert, clean up), Find online (Wikimedia Commons, with the licence and a wrong-match warning) and Upload your own.
    • In the slide-out, arrow keys move between the tabs, and on the cover arrow keys move the box (Shift and arrow keys resize it).

    Classes

    • .logo-mask (--logo, --logo-ratio, data-colour="accent"), .wordmark
    • .series-head, .series-head__follow (the framed Following list: the height token and style of the buttons beside it, full width on a phone), __text, __name, __meta, __desc, __progress, __actions, .cover-fan
    • Slide-out: .logo-saved, .logo-tabs, .logo-pane, .logo-step, .logo-candidates, .logo-candidate, .cover-pick, .logo-crop, .range, .checker, .logo-drop, .logo-preview, .inline-form

    Shelf

    UX-30, option A. One row of covers that scrolls sideways, with no scroll bar. At each end the covers fade into the page, with an arrow over the fade; the arrow and fade show only when there are more books that way. On phones there are no arrows; the fade alone says there is more.

    For you

    View all

    Behaviour

    • Each arrow press moves one screen less one cover. With Reduce motion active, the shelf jumps instead of sliding.
    • Tabbing to a book scrolls it fully into view, clear of the fade.
    • Arrows are named "Earlier books in <shelf>" and "More books in <shelf>". "View all" stays in the heading.
    • Shelves that load more as you go keep loading when the arrow reaches the end.

    Classes

    • .shelf-scroller, .shelf-track, .shelf-edge--start, .shelf-edge--end, .shelf-arrow
    • Set --shelf-cover-w to the cover width and --shelf-fade-bg to the colour behind the shelf.