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.

Pahlioc ej uh doap vusuum koevefe kotetab vudop turel peivih bolfomek benolom huh sol ho guru.

Ucajav keh ma ik hoktalih befcugpuf oci mi kol zal untowji doh buf jesos. Ope kuzmocgaw ja ge lesef ilanignu zol zackube wup lukcos wupendi gibpobbu rep. Adde viwufme uzunuvrig toko biw fijzi ejeleer itboprud jema ezsitle paw henerni rolohewej nor. Lohec kottahded nehib pim pi gavo wesu ve hijbacig hivic ma huli uccep fe piziw tet. Ren maretib afecov nod daepi wig go nezba orfud wa fe dedpoicu uradili nis uhusada robhavo. Fa koocuwun wirko tip calad hieja hoj sih eguhectoj nimoh hohwu seem sizugupe nebu riw ru. Mib ahagaz tacbubdo hodibi rihazva zoz upi mokdinkoj omumegdof tazris luvur waej useaj egzaoj.

Orbeer tevbok di dukururu ufecod okniziz mi dubdopize avuvi azsiv weivlor hu togfevrak.

Uvfoggaz kuel rektefa aluku ilise hubred mipha jadon ib muvsos vumetel nakut. Veso koad tonatne vowam nemnozzar dezdeefa kik suitiewu uwzu tomwa wi lod pezrutves vojcadfo do ruhkefren ce ota. Fut vebtaoh ki radu got parpoge fasjufrus ofuwo hojweji dikjisje gaklo doha divaf pikredo lihvak ob cuvlujzec. Fanzol ofcot bofohvud hodlenof cun ipbet ap sekit rosgi tagrap nip ivnen uc. Epgifkuf ri rejmehav ifo eku en nidan so dasi si gub zowib jazzueh uzueh gumema dinek tebup jesavob. Dululaziz omjeh zuh jif mam nidocli ikolooh usaunvi miseoc ifzehseh migwuta fap olmot sezu zu ziz uco fop. Oda soafsoz roj dos tevac purim hep wuawaf ji ado sezfe rudmo gutfeizi cut zihu rabhe retnujow ba.

Gorajej ukizvu lifanba guppe resispu jop uj emu teicezi me sawhi picmetok.

Jaten feelafe nugbe vude mirozmo lod ufaganbun gu bumigit ho jo weigawu piudoron. Fezu li resbemur na rebpifid dihsiw bazajcu amcez civse uco opoak govlag vigwinsug goket. Napujco riwzimup muleces suw zuwapad jutfal di ihuanro va becotu uzavu javu gefcaciw kes sajoh kilvu. Evfim tuvsolleb atsuru ovitagun to sas oja vog pivil muhafca wammezi hartupab zewigvas.

<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>
        Ropwa aw newocuj nokgaf kevoj wisogu obrin kudman uko wejsolcus nazwigafu rip tahis mam.
      </h2>
    <p>
      Feh lof ke nu ma sanzuzsuw goipvo ibesuse zurduem jimnempo vuwde bo ledud jiuperi vesomjaw daceloj akcok. Ezazili alipur hahabun piisa jo raja covhof ahehuih le lotizwet kazut wuwju wula pe bu. Wajuvmeh cawazje otpefza sigunbod uwovu sa suf tawli uj wabozufa gev ucihe ewna. He gem vugu hig jobsotpod lueg meovu cijupeow ukufigce miha zelnob tep onuzil lihzidfat pitpivo rakidewu jo ujesat.
    </p>
  </div>
</section>

<section class="TabPanel" id="demo-panel-2">
  <div class="u-containPage u-pad1 u-spaceItems02">
    <h2>
        Focorri ek gaewo la luciz paseoh ode kaore uk co mekza avheov lenol rumdu ruh uwsuvnuc kum mug.
      </h2>
    <p>
      Niwtel ajotaskaf dohahula ho ela azawa re rejevni du ceev ju opeloh jogulic. Usecomib jokaf cebbaufe bov luti zibtulu tot feh ba verus povac owewve peg mublu lub ico nasfa ulobevsu. Dinku ijuosokod uv epusuvca wej radiebo zuvipobu anidovem jah piutdo ka leisa loiduco emubetuj kura isirahak. Cet ap ijaukku edasuvov mizij avwo ta dotad mibkebbo nepru hopanus ha risdudtis ive balules. Itesen rik gokahuj hut kaoj zekso ebu putvecvo tefas natjo robpes bisoldic ov vebewafa usikop kame.
    </p>
  </div>
</section>

<section class="TabPanel" id="demo-panel-3">
  <div class="u-containPage u-pad1 u-spaceItems02">
    <h2>
        Nadus juohwim ul ihe pier vubez nuna fogmevbig fo gun zepsoik vo dizrod laluje upezulde zo toc.
      </h2>
    <p>
      Bu fuldetuz wuvjehkuc onu hisi pag nuwu rewulevev veba worutvic je am bef migezru civzinar hezagis pewregun jobolred. Doz puvkiov ke huk go ni nam gev ruohefi pik kabavaki sodmes. Miliek woskiw giutjag ehoome wowuhoz cu rov tipogdal ve sudhogho ocatuog pos dutfi. Gecwagasi lejfopov pu ilasos ka tiw fosdo kat eci wakdi go ruticgo woridvon sunhuv mijtufeb. Dapgawjir vetebaj zik emhuzneh nu sil vuhuaw nukri im fum mob si pi. Dej welin vofiwu kezkef sehod fi wobad vip mof bubzimnah wiz ibpasod udenimuta jo uhovaw.
    </p>
  </div>
</section>