“Skip to content” link
Quick access links that appear on the first Tab press to skip the header and menu, as required by the RGAA and WCAG.
- Tailwind
- React
- CSS
- WordPress
Description
Placed at the top of the page, the “skip to content”, “skip to menu” and “skip to footer” links stay invisible to mouse users but are read by screen readers; on the first Tab press, a high-contrast bar appears over the header. Every target has tabindex="-1": focus really lands there and the next Tab carries on from the chosen area (RGAA criterion 12.7, WCAG 2.4.1). A --lev-offset variable shifts the landing spot below a sticky header so nothing hides the focus (WCAG 2.4.11). Plain HTML and CSS, no JavaScript or animation, rem sizes, 44 px targets, light and dark.
Code
Loading the code…
The code of this component in
Archive contents
lien-evitement-accessibilite-html-tailwind.zip3 files · 5 Ko
- index.html8 Ko
- README.md3 Ko
- LICENSE.md1 Ko
Tags
Updated on December 2, 2026.
Reviews
No reviews yet.
In the same spirit

A slim bar at the top of the page with a message, a link and a close button; once closed, it stays hidden for the period you choose.
- Tailwind
- React
- CSS
- WordPress

A sticky sidebar table of contents for blog posts: it highlights the section being read, shows the reading time left and folds into a list under the title on mobile.
- Tailwind
- React
- CSS
- WordPress

A column of dots on the side of the page that follows the section being read and lets visitors jump to it, with a label on hover and focus.
- Tailwind
- React
- CSS
- WordPress

Step indicator
FreeAn order step indicator: finished steps clickable to go back, the current step announced, upcoming steps locked.
- Tailwind
- React
- CSS
- WordPress