eBay

Techniques: Skip to Main Content

A means for keyboard users to bypass header navigation and search.

<!-- the skip to anchor is the first interactive element in the DOM -->
<a href=”#mainContent” class="clipped">Skip to Main</a>

<!-- the anchor target wraps your main content -->
<div id=”mainContent” role=”main”>
  ..
</div>

Please refer to the Skip-To pattern for guidance regarding CSS and JavaScript.

results matching ""

    No results matching ""