Links, buttons and summaries a, button, summary | Link | outline: focus-ring-width solid focus-ring-primary;
outline-offset: 3px;
box-shadow: focus-halo;The site's own, and the one every control has unless a rule below says otherwise. A link also lifts to z-raised so the ring is not clipped. | Card, Chip, Chip List, Disclosure, Form, Modal Dialog, Non-modal Dialog, Post Item, Quantity, Site Footer, Site Header, Table of Contents, Video control button, Video player |
|---|
Navigation links and buttons .nav-focus | Menu | outline: focus-ring-width solid focus-ring-primary;
outline-offset: 3px;
box-shadow: focus-halo;
background: color-mix(in srgb, ink 8%, transparent);The site's ring and a tint of ink at 8% inside it. | Language Switcher, Site Header |
|---|
Link .lnk | Link | outline: focus-ring-width solid focus-ring-primary;
outline-offset: 3px;
box-shadow: focus-halo;
background: marker;
color: ink;The site's ring, a marker fill with ink words, and the underline thickens to 3px. | Link |
|---|
Skip link .skip-link | Skip | outline: focus-ring-width solid focus-ring-primary;
outline-offset: 3px;
box-shadow: focus-halo;
background: lilac;
color: paper;
z-index: z-skip-link;Hidden until it has focus. Then a lilac fill with the site's ring, above everything at z-skip-link. | Skip to Main Content |
|---|
Copy button of a code block .code-block__copy | Copy | outline: focus-ring-width solid focus-ring-primary;
outline-offset: 3px;
box-shadow: focus-halo;The site's ring on ink. The button keeps its own radius and fill inside it. | Code Block |
|---|
Input, select, textarea and slider .fm-control, .qty-input, .dialog-input, .vid-select | Field | outline: none;
box-shadow: focus-halo;
border-color: focus-ring-primary;The halo and no outline. Where the control has an edge, it takes the colour of the ring. Forced colors: the quantity input gets outline: 3px solid Highlight. | Form, Modal Dialog, Quantity, Video player |
|---|
Checkbox and radio .fm-check | Box | outline: none;
box-shadow: focus-halo;The halo and no outline. | Form |
|---|
Text field .ds-field__input | Name | outline: none;
box-shadow: focus-halo;
border-color: focus-ring-primary;The halo and no outline. The 2px edge takes the colour of the ring. | TextField |
|---|
Button button.bt, input.bt | Button | outline: focus-ring-width solid focus-ring-primary;
outline-offset: 3px;
box-shadow: none;The ring without the halo. The hard shadow drops, so the ring is the only edge. The same on an input of type button, submit and reset. | Button, Form |
|---|
Card .cd-card | Card | outline: focus-ring-width solid focus-ring-primary;
outline-offset: 4px;The whole card, while its stretched link or summary has focus. | Card |
|---|
Stretched link or summary of a card .cd-card__link, .cd-card__summary | Title | outline: none;
box-shadow: focus-halo;The halo around the words, with the card's outline around the whole. | Card |
|---|
Swatch of a card .cd-swatch > input | Swatch | outline: focus-ring-width solid focus-ring-primary;
outline-offset: 3px;Drawn round the colour, which is the span after the input. | Card |
|---|
Hotspot trigger .hs-trigger | Dot | outline: focus-ring-width solid focus-ring-primary;
outline-offset: 3px;
box-shadow: 0 0 0 2px ink;The ring without the halo. The 2px ink ring the trigger always has stays inside it. | Hotspot |
|---|
Title of a hotspot card .hs-card__title | Title | outline: focus-ring-width solid focus-ring-primary;
outline-offset: 2px;Focus goes to it when the card opens. Not a tab stop. | Hotspot |
|---|
Close button of a dialog .dialog-close | × | outline: focus-ring-width solid focus-ring-primary;
outline-offset: -4px;
box-shadow: none;The ring without the halo, drawn inside its 44px. | Modal Dialog, Non-modal Dialog |
|---|
Tab .tb-tabs__tab | Tab | outline: focus-ring-width solid focus-ring-primary;
outline-offset: 0;The site's ring, hugging the tab. | Tabs |
|---|
Tab panel .tb-tabs__panel | Panel | outline: focus-ring-width solid focus-ring-primary;
outline-offset: 2px;The site's ring, 2px off the panel. | Tabs |
|---|
Scroll arrows of tabs .tb-tabs__arrow | › | outline: focus-ring-width solid focus-ring-primary;
outline-offset: 3px;
box-shadow: none;The ring without the halo. | Tabs |
|---|
Video slider .vid-range | | outline: focus-ring-width solid focus-ring-primary;
outline-offset: 3px;
box-shadow: focus-halo;
border-color: transparent;The site's ring, as on the copy button of a code block. The 3px edge it always has stays transparent, so the track never moves. | Video player |
|---|
Heading with a link in a post .post-heading-link | Title | outline: focus-ring-width solid focus-ring-primary;
outline-offset: 3px;
box-shadow: focus-halo;The site's ring, and the underline thickens to 3px in lilac. | Heading |
|---|
Headings and regions with a tabindex [tabindex] | Title | outline: focus-ring-width solid focus-ring-primary;
outline-offset: 3px;Where focus lands after a skip link or a contents link, and the scrolling regions and media of a dialog. The page's h1 draws none. | Modal Dialog, Non-modal Dialog, Skip to Main Content, Table of Contents |
|---|