{"id":2843,"date":"2025-11-17T15:47:40","date_gmt":"2025-11-17T20:47:40","guid":{"rendered":"https:\/\/it.rutgers.edu\/digital-accessibility\/?page_id=2843"},"modified":"2025-12-03T21:52:58","modified_gmt":"2025-12-04T02:52:58","slug":"skip-navigation","status":"publish","type":"page","link":"https:\/\/it.rutgers.edu\/digital-accessibility\/accessible-web-content\/skip-navigation\/","title":{"rendered":"Skip navigation"},"content":{"rendered":"    <section class=\"cc--component-container cc--hero-basic  hero-basic color-light-gray\">\n\n<div class=\"c--component c--hero-basic\">\n        \n<div class=\"outer-wrapper\">\n    <div class=\"inner-wrapper\">\n        <div class=\"text-container\">\n            <div class=\"text-wrapper\">\n\t\t\t\t<div class=\"f--field f--page-title \"><h1>Skip navigation<\/h1>\n\n<\/div><!-- f--field f--page-title -->\n\t\t\t\t<div class=\"f--field f--text \"><\/div><!-- f--field f--text -->\n            <\/div>\n        <\/div>\n    <\/div>\n<\/div>\n\n\n<\/div><!-- c--component c--hero-basic -->\n\n    <\/section><!-- cc--component-container cc--section -->\n\n\n    <section class=\"cc--component-container cc--rich-text  rich-text\">\n\n<div class=\"c--component c--rich-text\">\n        \n    <div class=\"f--field f--rich-text \"><p>Skip Navigation (sometimes called Skip to Main) allows a user to jump to the main content of a page without needing to read the heading and navigation on every page they click on.<\/p>\n<h2><strong>Appropriate use<\/strong><\/h2>\n<p>Skip to Main is a hidden link that allows screen readers to skip reading through the navigation bar every time they get to a new page, allowing them to quickly jump to the main content.<\/p>\n<p>There are a few ways to implement this, but one common method is to add the following code directly after the opening body tag on your site:<\/p>\n<pre><code>\r\n &lt;body&gt;\r\n        &lt;a href=\"#main\" class=\"skip-to-main-content-link\"&gt; Skip to main content &lt;\/a&gt;\r\n        ...\r\n        ...\r\n        &lt;main id=\"main\"&gt;\r\n        ...\r\n        &lt;\/main&gt;\r\n    &lt;\/body&gt;\r\n<\/code><\/pre>\n<p>To hide this button off screen, you can add the below line of code to your .CSS file:<\/p>\n<pre><code>\r\n.skip-to-main-content-link {\r\n        position: absolute;\r\n        left: -9999px;\r\n        z-index: 999;\r\n        padding: 1em;\r\n        background-color: black;\r\n        color: white;\r\n        opacity: 0;\r\n      }\r\n      .skip-to-main-content-link:focus {\r\n        left: 50%;\r\n        transform: translateX(-50%);\r\n        opacity: 1;\r\n      }\r\n\r\n<\/code><\/pre>\n<h2><strong>How to test for compliance<\/strong><\/h2>\n<p>When the page loads, you should press your\u00a0<em>Tab Key<\/em>. An element should appear on the screen that reads \u201cSkip to Main\u201d or \u201cSkip Navigation.\u201d<\/p>\n<figure class=\"rudr-image align-none \"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/it.rutgers.edu\/digital-accessibility\/wp-content\/uploads\/sites\/16\/2025\/11\/skip-to-main-content-768x180-1.png\" alt=\"\" width=\"768\" height=\"180\" \/><\/figure>\n<h2><strong>Common mistakes<\/strong><\/h2>\n<p><strong>Link doesn\u2019t point to a location:<\/strong>\u00a0A very common mistake we see is for a \u201cSkip to Nav\u201d to exist in the template, but the end user has not identified the point on the page to link to. This essentially creates a dead link on your page. It\u2019s important that at the beginning of your main content you are identifying id=\u201dmain\u201d for the link to work.<\/p>\n<p><strong>Link takes you to the top of the page:<\/strong>\u00a0This link should not bring you to the top of the page, as it then does not serve any purpose. It needs to bring you to a location after the main navigation.<\/p>\n<h2><strong>Other resources<\/strong><\/h2>\n<ul>\n<li><a href=\"https:\/\/webaim.org\/techniques\/skipnav\/\">WebAIM: Skip Navgiation Link<\/a><\/li>\n<\/ul>\n<h2><strong>WCAG standards<\/strong><\/h2>\n<ul>\n<li><a href=\"https:\/\/www.w3.org\/WAI\/WCAG21\/Understanding\/bypass-blocks\">WCAG 2.4.1: Bypass Blocks<\/a><\/li>\n<\/ul>\n<\/div><!-- f--field f--rich-text -->\n\n    <\/div><!-- c--component c--rich-text -->\n\n    <\/section><!-- cc--component-container cc--section -->\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":257,"featured_media":0,"parent":2827,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-mini-site.php","meta":{"_acf_changed":false,"footnotes":""},"page-category":[],"class_list":["post-2843","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Skip navigation - Digital Accessibility<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/it.rutgers.edu\/digital-accessibility\/accessible-web-content\/skip-navigation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Skip navigation - Digital Accessibility\" \/>\n<meta property=\"og:url\" content=\"https:\/\/it.rutgers.edu\/digital-accessibility\/accessible-web-content\/skip-navigation\/\" \/>\n<meta property=\"og:site_name\" content=\"Digital Accessibility\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-04T02:52:58+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/it.rutgers.edu\\\/digital-accessibility\\\/accessible-web-content\\\/skip-navigation\\\/\",\"url\":\"https:\\\/\\\/it.rutgers.edu\\\/digital-accessibility\\\/accessible-web-content\\\/skip-navigation\\\/\",\"name\":\"Skip navigation - Digital Accessibility\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/it.rutgers.edu\\\/digital-accessibility\\\/#website\"},\"datePublished\":\"2025-11-17T20:47:40+00:00\",\"dateModified\":\"2025-12-04T02:52:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/it.rutgers.edu\\\/digital-accessibility\\\/accessible-web-content\\\/skip-navigation\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/it.rutgers.edu\\\/digital-accessibility\\\/accessible-web-content\\\/skip-navigation\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/it.rutgers.edu\\\/digital-accessibility\\\/accessible-web-content\\\/skip-navigation\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Digital Accessibility\",\"item\":\"https:\\\/\\\/it.rutgers.edu\\\/digital-accessibility\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Accessible Web Content\",\"item\":\"https:\\\/\\\/it.rutgers.edu\\\/digital-accessibility\\\/accessible-web-content\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Skip navigation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/it.rutgers.edu\\\/digital-accessibility\\\/#website\",\"url\":\"https:\\\/\\\/it.rutgers.edu\\\/digital-accessibility\\\/\",\"name\":\"Digital Accessibility\",\"description\":\"A Rutgers IT Service\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/it.rutgers.edu\\\/digital-accessibility\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Skip navigation - Digital Accessibility","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/it.rutgers.edu\/digital-accessibility\/accessible-web-content\/skip-navigation\/","og_locale":"en_US","og_type":"article","og_title":"Skip navigation - Digital Accessibility","og_url":"https:\/\/it.rutgers.edu\/digital-accessibility\/accessible-web-content\/skip-navigation\/","og_site_name":"Digital Accessibility","article_modified_time":"2025-12-04T02:52:58+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/it.rutgers.edu\/digital-accessibility\/accessible-web-content\/skip-navigation\/","url":"https:\/\/it.rutgers.edu\/digital-accessibility\/accessible-web-content\/skip-navigation\/","name":"Skip navigation - Digital Accessibility","isPartOf":{"@id":"https:\/\/it.rutgers.edu\/digital-accessibility\/#website"},"datePublished":"2025-11-17T20:47:40+00:00","dateModified":"2025-12-04T02:52:58+00:00","breadcrumb":{"@id":"https:\/\/it.rutgers.edu\/digital-accessibility\/accessible-web-content\/skip-navigation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/it.rutgers.edu\/digital-accessibility\/accessible-web-content\/skip-navigation\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/it.rutgers.edu\/digital-accessibility\/accessible-web-content\/skip-navigation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Digital Accessibility","item":"https:\/\/it.rutgers.edu\/digital-accessibility\/"},{"@type":"ListItem","position":2,"name":"Accessible Web Content","item":"https:\/\/it.rutgers.edu\/digital-accessibility\/accessible-web-content\/"},{"@type":"ListItem","position":3,"name":"Skip navigation"}]},{"@type":"WebSite","@id":"https:\/\/it.rutgers.edu\/digital-accessibility\/#website","url":"https:\/\/it.rutgers.edu\/digital-accessibility\/","name":"Digital Accessibility","description":"A Rutgers IT Service","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/it.rutgers.edu\/digital-accessibility\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/it.rutgers.edu\/digital-accessibility\/wp-json\/wp\/v2\/pages\/2843","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.rutgers.edu\/digital-accessibility\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/it.rutgers.edu\/digital-accessibility\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/it.rutgers.edu\/digital-accessibility\/wp-json\/wp\/v2\/users\/257"}],"replies":[{"embeddable":true,"href":"https:\/\/it.rutgers.edu\/digital-accessibility\/wp-json\/wp\/v2\/comments?post=2843"}],"version-history":[{"count":3,"href":"https:\/\/it.rutgers.edu\/digital-accessibility\/wp-json\/wp\/v2\/pages\/2843\/revisions"}],"predecessor-version":[{"id":2929,"href":"https:\/\/it.rutgers.edu\/digital-accessibility\/wp-json\/wp\/v2\/pages\/2843\/revisions\/2929"}],"up":[{"embeddable":true,"href":"https:\/\/it.rutgers.edu\/digital-accessibility\/wp-json\/wp\/v2\/pages\/2827"}],"wp:attachment":[{"href":"https:\/\/it.rutgers.edu\/digital-accessibility\/wp-json\/wp\/v2\/media?parent=2843"}],"wp:term":[{"taxonomy":"page-category","embeddable":true,"href":"https:\/\/it.rutgers.edu\/digital-accessibility\/wp-json\/wp\/v2\/page-category?post=2843"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}