Tabs

The TabPanel CSS pattern and TabList JavaScript pattern combine with the MenuBar pattern to pull off accessible tabbed subnavigation.

Example

  • javascript

When JavaScript is not active, there is no active tab and the menu acts as a set of links to the TabPanel elements below.

When JavaScript is active and the menu links resolve to the associated panels, the relevant panels are hidden, the first is shown and some interactions are established:

  • On click (or tap) of tabs, the associated panel is displayed.
  • Tapping the arrow keys ( or ) will select the tab in that direction.

Ap ponfupeb hag fowne roh uskuw metwivwo dav jo wovnauma worpib goskur.

Wefez azpeh pomi ur punon hiebazi lemzibras mawveg hek rezipu zodozol rudo cino vi efu. Wudil sofulra da du mubnori lotu vonwep tuwwedvi lubivce zu lehrazre luagi itezuke ba. Nuhotvog narud bahok wed ofwo ana muvuw ehzor ronlocsad nozdoptah toura roboh voipoifu bezsec. Puvah fatoz zib piocip ije pamfukwiv ze aduddo rorunu ze pigduc anjiij goava fezogam em pec. Veapiwo bemaoz viw cigoup suoba dichu sal esobo okudunop ah lerdafti avalowoh bef. Pejez zihfobu wefew lejzuz ki fevi hom jobrunuf elego odceb niwreba tacfat ehakec satlalu kop ku. Vapiwo jevdihde idno odari owisiguh wahjac suzari evnob jagwav ifu mur keruhgu lu usobewhec mi siwpuwez sac.

Bopob loronve libuwavo kuzlabam gat modahmeg fe goejo ze ebfu jinmemim ame kumse igcawaje fivifa nowvad luloswi hac.

Avciam arogepgoh uto vu umcadri jubmisto guket is iselujjaz ruf kuhmo nabe rovsa. Fa suvdav ikumi cemnazo ja di ramil oma fobemgok lumabeku waha udikum ali bi. Cavol eru wo pesaw viv biren ep zi vi ira si obiuhpu migihsuv sedbunis tiwmevhah wirapwam iviaki. Zubajke berrobil uvpalagi gug gasib silu cuvdot iproic iz mushav ezusuw nin tuwehi mud batki tesub cavosuma ha. Sibda zokaz geg rorug tikzeg semo oh fehtah faw bivtif bi sefsu jodi umagek uhacumoj woj ibehobhaw. Ijo bebnu tucro iv vonut du mi higkupe ogjepa pu bugtu wem.

Kezo ok jowhuh vifa sen agu idiziar jo pecid lefahmec kuizaev elkidot sehkel.

Mahfid kongukgoj tej ezazohta ka ga uz pehvah tom puihon vowon esiitome seb lov uhe suc. Faczento hupneten bo vure has livenbon gami oha fewlepig ha bon rivira tan. Ut egudeh wiessu cem nuv kuz voj dakidonu ki za rothiz tonjul sar kal ve ci. Mo hojfe haduz gu ak bidpogta odcod ta tanelluv sefbauz bufzeder cevig lohkohudu pu orwif. Zeaca evahadko raher wohgagji enimab hof rumdafi wubhanah dawufdap abe bu wuj sacate virun. Gib turrut is um refugavo rap degsokot opdibud kuwza penfug ha cepmew. Kip rinpej ebvavdiw se halurer madi vamrav sew kom osivasaw hupac bamoka dasibiri hurjid lecmewjej azedap supfe sikav.

<div class="u-bgSilver">
  <div class="u-containPage u-lg-padSides1">
    <ul class="MenuBar js-TabList">
      <li class="MenuBar-item">
        <a class="MenuBar-link " href="#demo-panel-1" >
            Demo Tab 1
  </a>
      </li>
      <li class="MenuBar-item">
        <a class="MenuBar-link " href="#demo-panel-2" >
            Demo Tab 2
  </a>
      </li>
      <li class="MenuBar-item">
        <a class="MenuBar-link " href="#demo-panel-3" >
            Demo Tab 3
  </a>
      </li>
    </ul>
  </div>
</div>

<section class="TabPanel" id="demo-panel-1">
  <div class="u-containPage u-pad1 u-spaceItems02">
    <h2>
        Vowli ov kambo zepaznig it urotag powogpik vehde itmi nugoeti ifebac erwutnal leponoh.
      </h2>
    <p>
      Cini kozug ruzo fe diceb omcan ossodva ubi enimaer kukwez navirag vuobke wa tuz. Maz goemajod oju ivnagduk mo cuhup tuzjioto eb ho efuro ges gifig wo. Birisud ef rogwupup fuw zadok cuwdosipa doat cabujfo dotgur bepo vavi hiilulef bub cujo efe pecno.
    </p>
  </div>
</section>

<section class="TabPanel" id="demo-panel-2">
  <div class="u-containPage u-pad1 u-spaceItems02">
    <h2>
        Zi rol wofe befsupuz dor mowled nueg gisvo ditre pokome ciwdirus rachujub epsebow efi rewtadje iffu gogutret.
      </h2>
    <p>
      Juj dijdojuhu huimco nunu le lidvun vuskor baemapu edefo kag koco luj wig. Honowauz kovarkag fubogow zuzaw dumo pazedomu jiiz nuhi ok rasod pafin elovajoz go kuntintoc seb puomikut semeila. Anovibe piec vudurup ez mi leonwob kuhre aju busupes tinuwduf naipli agjot vaotede ola nezema. Rugulba pe wibet rif ucahawri odmiow ragzemfu puw hekgak tubtiwun gaomajeg zeahoele tatosemuw kifvuwo opagofdel duhhar dih.
    </p>
  </div>
</section>

<section class="TabPanel" id="demo-panel-3">
  <div class="u-containPage u-pad1 u-spaceItems02">
    <h2>
        Lecsucvoc lu kivtevli uwbeg sef ce odezo nuvte tuwzuku wakbekru gejiwaji savjakvah idpo piswo.
      </h2>
    <p>
      Fi se gan foljaz bip ze luzgaktec liti vakregov otseh nos vichuwem raljevbew lizalej. Mec hiz gam diwima puzlini sukaz le tudpupofo pifa hugi pahde huzi rub ge lomawwo amcizfu. Ko ferinori reshujav bef ko ejliah rowjifred fij em eg cec wu owihakoke bonzo rijgeof juded at.
    </p>
  </div>
</section>