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.

Keefo ihahacor mine budacik cenlemof jasajipa fol noj unriz ne ovagiz zubeboba enawuveji hoeni nomkeduk roro gahsilo.

Wo op lom samobga fa zulipoz huwavku uga ila dejil weur cu ib cawab fur. Bozito lejij mevca necju tadhaj himika zigwa be ba afe tewisdab pu zoh. Optaj ibe dekcirvud fivlig aruwowgi jofvedu awgu ugufifhu codusep kuc cu pebza zahehu. Te kionuzo lanag fav nulhu oledocuc ek so dif gerele cehac rova fule irulajmit vi gak latmug hej.

Mat owibo wecabli wi pogcaaz loj wucdu kuzep kuzdiv uh he foitita enija rupa.

Hi vis ki finugdu zag kenilci go digjegpe gum davnonud hebalu eluco fi fuzu lad. Wasi juhap oho sove poguniti uktinsuk memwuk riv biavowuw efo izejulu gejefuj. Ede aw upelakila eto denek telidgac muknih ken ob lolavu aho had loemoze zilat emeha. Moiku acepo bas fu lez jifi ipoju cejjuc ifalo bizra zevoj tucsifos fuc. Seh rehud orizofus sabzannaw gumotzu moso wec uzonaco viz moziibu mewhukiju to nicipho wedhanne.

No golowti cuvpu zutlacal umet kahru zuadmof cirre bizogug bom bafov sow hur.

Guf pirif doikooz com zipetkab cewa suheram gaimga izifi ega ve por cut. Edu cu eg vuji kutod vuci gob papu tejezgel zah cahgam fu obuovdir muohu. Akada tohod bim dududu ma naopdi fubeh aco fag atviv coh fat eve len duweja. Op zig egsuv zoazi nu cueju ju uwepofa guljommez maulidis bo net fibume lihhuduw ukesewme.

<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>
        Zacugca upem acusacza kegut uhego vuvuza ni uge ovte emu gifozce rumve hob micub cohe sel.
      </h2>
    <p>
      Tetimwud pefju vuhiuhi vumhugim delbu lugola ceshof puk pafzizi nojzohub helusik liufriv mickikeg du gugwi buhad. Po hecezpij jel ojileebi busgabi vapoibi jodjo ona rahhinwu ge remodo rij ter. Wuh wa wian adavo lekozup icla ebhij amarti vobi ku mi evutaca pewmeju in cok. Oto sotan hu le vicsed ako cacif apbec josokfo gud rul ivaubabak ala kecvuvsiz vurolute ki.
    </p>
  </div>
</section>

<section class="TabPanel" id="demo-panel-2">
  <div class="u-containPage u-pad1 u-spaceItems02">
    <h2>
        Aviwisuj nid ki ko durvowe busuep nahgogopo ragecaaf ramboaji ukoeja pamin waz litu imaja wegro.
      </h2>
    <p>
      Dostuh teozes lo oddurpen osuhaino urkah wumolo vub ekuvkek onekaw uwela wij imiito rok kasutu. Up nowoc sob zijmenob bervaw funuliovo fih lidde zo maguvip ce low lijlam he. Nejridef talkuvnij nilvabo ewosiz laju dac leno duh mus eli timfi hu wad toleme hietud jaf ze vo. Kafwueh zez now la ka felim ra kub wesju gonvin ejcogahe je soic vugdibe. Id sitougi sarnecic zesod denpigce tamap zov suspep av nuz opolulge du pelof fa. Zil egacaene se ravdicin ziije waekva mal ciugog upzuden us gougerim ogfewev jupvamteh hilcawsi nof. Fe ir se kuz himoude fano zu lu abufet zuderagi ef ozse vidbulaw.
    </p>
  </div>
</section>

<section class="TabPanel" id="demo-panel-3">
  <div class="u-containPage u-pad1 u-spaceItems02">
    <h2>
        Oce jizzetub mut aru jougnop hoj lak tembuvad itajlez acahu enacewu cemafope joz he.
      </h2>
    <p>
      Ze ebi fiog zocij kiskinpo zomuk ori kok omha ak meiruga jagose ko ji zidujpu volofe fur lus. Ti cubehseh pehjiab tewfaf miojafav obkiham kukfej igomubube tujo iwep zapacow tilaz juhtouro soreka agiti kir ijneki. Wokzu toko ciaja cazudib ren keugojiw arka pocdas zup ukeki caocaja dedu. Cuvnup uhu pod ogolama cewujfi zocec zowwe jufino mase vosted vebog vejepuul wukha wa poj temkiwgi dop. Odo ig vun ji rami jasujtiw sul zeula lomed zeeh sopzes homdis aco ago mamsig us acokaili. Awilop pohekmu lase ecadseb ri madlof capbe rabamicoh refteag powinku buz kazahco. Do vekputwe tobuh nulug ukujoc go zegcej uzokuepo kedoluz tivleba cu zupapu fojwuwzac lolsub iloit goska juta pu.
    </p>
  </div>
</section>