Skip to content
Stacklumen is now RelpilotSee the list here

Firefox 162 turns on view transitions between pages

Firefox 162, due on 8 December 2026, enables cross-document view transitions by default. It also adds the headingoffset attribute, new ARIA section roles, Declarative Web Push and streaming uploads.

Blog card reading 'Firefox 162 animates between pages. View transitions, on by default.' beside a drawing of a made-up Northgate site moving from its projects list to one project's page, the selected card's image growing into the page's hero, above the CSS rule @view-transition { navigation: auto; }.
On this page
  1. View transitions between pages
  2. Headings and landmarks
  3. CSS and JavaScript
  4. Loading, uploads and notifications
  5. Media and other changes
  6. What it means for your site
  7. Sources

Firefox 162 is due on 8 December 2026. Mozilla's developer release notes for the version, currently the Beta, list a set of changes that affect everyday websites. The biggest is that view transitions between pages are now on by default. The notes also say they are still a work in progress, so the final list may change before release.

View transitions between pages

A cross-document view transition animates the move from one page to another, for example a project card that grows into the hero image of the project's own page. Firefox 162 enables these by default on all channels.

Both pages have to opt in. Each one declares this rule in its CSS:

@view-transition { navigation: auto; }

With the rule on both pages, navigating between them plays a view transition animation. Without it, nothing changes, and pages load as they always have. This works on ordinary multi-page sites. It needs no JavaScript framework and no single-page app.

Headings and landmarks

Two HTML changes help with accessible structure:

  • The headingoffset attribute is now enabled by default. It shifts the computed level of the headings inside an element by a set amount. This helps when the same block of content, such as a card or an embedded article, appears at different depths on different pages.
  • The sectionheader and sectionfooter ARIA roles are now supported. They mark the header and footer of a section, separate from the page-level banner and contentinfo landmarks.

CSS and JavaScript

  • The CSS Typed Object Model is now enabled by default. It exposes CSS values as typed JavaScript objects through attributeStyleMap and computedStyleMap(), with helpers such as CSS.px().
  • background-clip: border-area clips a background to the area inside the element's border, including under transparent parts of the border.
  • A page can now use more than one <script type="importmap">. Firefox merges them in document order, and later entries override earlier ones for the same name.
  • Regular expressions support \A and \z, which match only at the very start and end of the input, whatever the m flag says.

Loading, uploads and notifications

  • document.parsed, document.contentLoaded and document.loaded each return a promise. They resolve when the document has finished parsing, when DOMContentLoaded has fired, and when load has fired.
  • Streaming request bodies are on by default. A ReadableStream can be the body of a Request, so an upload can start before the whole file is in memory.
  • Declarative Web Push is supported. A page can subscribe to push notifications with a <link rel="push"> element, without first registering a service worker in JavaScript.
  • Mouse buttons 4 and 5, usually back and forward, now fire mousedown, mouseup and click events, as button values 3 and 4.

Media and other changes

MP3 audio can now be appended to a Media Source Extensions buffer. WebRTC gains audio level statistics for local tracks and the iceCandidatePoolSize option. The Web Crypto API accepts the raw-secret and raw-public key format aliases. Some non-standard Gamepad attributes that only Firefox had are deprecated and now log a console warning.

The notes also list experimental CSS functions that ship turned off: ident(), inherit() and random-item(). They need a setting in about:config, so visitors will not see them.

What it means for your site

  • Page transitions now work by default in Firefox. If you have wanted a smoother move between pages on a multi-page site, add the @view-transition rule to both pages and test it in Firefox Beta. Browsers without support simply load the next page.
  • Respect reduced motion. If you add transitions, wrap the rule in a prefers-reduced-motion media query so visitors who ask for less motion do not get it.
  • Check heading levels on reused components. If a site repeats the same block at different depths, headingoffset is a way to keep the heading outline correct. Check support in the other browsers you target before relying on it.
  • Review mouse handlers. If your site listens to click or mousedown without checking which button was pressed, back and forward buttons may now trigger it in Firefox.
  • Watch the console. If a game or kiosk page reads Gamepad attributes, look for the new deprecation warnings.

Sources

New posts by email

Product updates and field notes from Relpilot, in one email a day or one a week.

How often