What's new Report an issue
GIG Cymru NHS Wales, Digital Health and Care Wales

Footer

The pinned bottom bar. It carries the build version on every screen, and the screen's committing action where there is one.

Type: Desktop

Version left, actions right. Exactly one primary action — the one that commits.

v 0.1.0.1112
<footer class="sr-footer">
  <span class="sr-footer__version">v 0.1.0.1112</span>
  <div class="sr-footer__actions">…</div>
</footer>

Type: Mobile

The mobile type in the same Figma frame (665:16526) is not a scaled-down version of the desktop bar: it is the persistent bottom tab bar. It is shown here because that is where the design file puts it — Footer is the surface, and a product picks the type that suits its platform — but it is implemented as its own component, BottomNav, because it behaves as primary navigation rather than a page-level action bar. Take the labels from the product's own top five destinations; five is the maximum that stays legible at 390px.

<nav class="sr-bottom-nav" aria-label="Primary">
  <a class="sr-bottom-nav__item" href="/home" aria-current="page">
    <span class="sr-bottom-nav__icon">…</span>
    <span class="sr-bottom-nav__label">Home</span>
  </a>
  …
</nav>

A screen has one or the other, never both. Desktop carries the committing action; mobile carries navigation, and its committing action belongs in the screen itself.


The bar pinned to the bottom of every screen: the version staff quote when reporting a problem, and the actions that commit or save their work.


When to use

When not to use

How it works

Do and don't

Accessibility

Content

Accessibility requirements

RequirementWCAG SCHow Single Record meets itTest method
One footer landmark per page1.3.1Renders a real <footer> element.Landmark review
Version is selectable text1.3.1Plain text, not an image or pseudo-element, so staff can copy it into a fault report.Select and copy
Action order matches visual order2.4.3DOM order is the visual order, so keyboard order is not surprising.Keyboard tab
Single primary action3.2.4One primary button identifies the committing action; siblings are secondary.Visual review
Focus visible2.4.7SR cyan ring.Keyboard tab