Navigation
Footer link lists
The columns of links at the bottom of a website: the product, the company, help and the legal pages. .kui-linklist is one column; put several in a .kui-grid.
Examples
Four columns
The grid gives each column at least the width it needs and wraps to two columns on a tablet and one on a phone.
HTML
<nav class="kui-grid kui-grid--sm" aria-label="Footer">
<div>
<h4 class="kui-linklist__title" id="footer-links-product">Product</h4>
<ul class="kui-linklist" aria-labelledby="footer-links-product">
<li><a href="#footer-links-calc">Calculators</a></li>
<li><a href="#footer-links-guides">Guides</a></li>
<li><a href="#footer-links-pricing">Pricing</a></li>
<li><a href="#footer-links-changes">What is new</a></li>
</ul>
</div>
<div>
<h4 class="kui-linklist__title" id="footer-links-company">Company</h4>
<ul class="kui-linklist" aria-labelledby="footer-links-company">
<li><a href="#footer-links-about">About us</a></li>
<li><a href="#footer-links-jobs">Jobs</a></li>
<li><a href="#footer-links-press">Press</a></li>
</ul>
</div>
<div>
<h4 class="kui-linklist__title" id="footer-links-help">Pomoć</h4>
<ul class="kui-linklist" aria-labelledby="footer-links-help">
<li><a href="#footer-links-faq">Česta pitanja</a></li>
<li><a href="#footer-links-contact">Kontakt</a></li>
<li><a href="#footer-links-status">Stanje sistema</a></li>
</ul>
</div>
<div>
<h4 class="kui-linklist__title" id="footer-links-legal">Legal</h4>
<ul class="kui-linklist" aria-labelledby="footer-links-legal">
<li><a href="#footer-links-privacy">Privacy</a></li>
<li><a href="#footer-links-terms">Terms of use</a></li>
<li><a href="#footer-links-imprint">Impressum</a></li>
<li><a href="#footer-links-access">Barrierefreiheitserklärung</a></li>
</ul>
</div>
</nav>
One list in a row
For the legal links on the last line of a footer, lay one list out as a row with .kui-linklist--row; it wraps when the row is full.
HTML
<nav aria-label="Legal">
<ul class="kui-linklist kui-linklist--row">
<li><a href="#footer-links-r1">Privacy</a></li>
<li><a href="#footer-links-r2">Cookies: none</a></li>
<li><a href="#footer-links-r3">Terms</a></li>
<li><a href="#footer-links-r4">Политика приватности</a></li>
</ul>
</nav>
States
Every state
Links are muted; hover makes them strong and underlined; focus shows the ring. Each link is at least 44 pixels tall on a touch screen, so the list can be pressed with a thumb. A long name wraps.
HTML
<div>
<h4 class="kui-linklist__title" id="footer-links-states">States</h4>
<ul class="kui-linklist" aria-labelledby="footer-links-states">
<li><a href="#footer-links-s1">Default</a></li>
<li><a href="#footer-links-s2" aria-current="page">The current page</a></li>
<li><a href="#footer-links-s3">Datenschutz-Folgenabschätzung für Auftragsverarbeiter</a></li>
</ul>
</div>
Classes and attributes
.kui-linklist- A list of links (ul), one under the other.
.kui-linklist__title- The column’s title; a heading at the right level for the page.
.kui-grid.kui-grid--sm- Lays several columns out side by side and wraps them.
.kui-linklist--row- The links in a row that wraps, for the last line of a footer.
Keyboard
- Tab
- Moves through the links.
- Enter
- Follows a link.
Accessibility
- Wrap the columns in a
<nav>with a name (“Footer”) and put that inside the page’s<footer>. - Tie each list to its title with aria-labelledby, so a screen reader names the list.
- Use headings for the column titles only when they fit the page’s outline; otherwise a paragraph is fine.
- The current page can carry aria-current="page".
Do and do not
Do
- Group links by what a person looks for: product, help, legal.
- Keep the legal pages (privacy, terms, imprint) on every page.
- Use the same words as the pages’ titles.
Do not
- Do not repeat the whole site map.
- Do not put a link in two columns.
- Do not make footer links smaller than the body text on a phone.