skip to main content

NAME

accessibility

DESCRIPTION

antenna generates HTML that meets WCAG 2.1 Level A success criterion 2.4.1 (Bypass Blocks) and uses semantic HTML5 markup throughout.

SKIP NAVIGATION LINK

Every generated page includes a skip-navigation link immediately after

that lets keyboard users jump past the site navigation directly to the main content:

The skip link is visually hidden off-screen until it receives keyboard focus, at which point it becomes visible.

The target is

; tabindex=“-1” makes the link move keyboard focus into the main area, not just scroll to it.

If you maintain your own stylesheet, add these rules:

main:focus { outline: none; } .skip-link { position: absolute; top: -999px; left: -999px; padding: 0.5rem 1rem; background: #333; color: #fff; text-decoration: none; z-index: 9999; } .skip-link:focus { position: static; top: auto; left: auto; display: block; }

LANG ATTRIBUTE

The

element includes a lang attribute from page.yaml. The default is “en-US”. Change it for non-English sites:

lang: ja # Japanese lang: fr-FR # French (France)

ARTICLE FOOTER FOR SOURCE LINKS

Feed item cards use
(not

) for the source URL at the bottom of each card.

SEMANTIC TIME ELEMENTS

Publication and update dates are wrapped in