{"id":2092,"date":"2017-10-13T17:20:37","date_gmt":"2017-10-13T17:20:37","guid":{"rendered":"https:\/\/in.nau.edu\/web\/?page_id=2092"},"modified":"2020-05-04T14:46:57","modified_gmt":"2020-05-04T21:46:57","slug":"tabs","status":"publish","type":"page","link":"https:\/\/in.nau.edu\/web\/tabs\/","title":{"rendered":"Tabs"},"content":{"rendered":"<h1>Tabs<\/h1>\n<p>Tabs are web design components that let you stack multiple groups of content in the same space on a web page.<\/p>\n<p style=\"text-align: center;\"><a class=\"shortcode-button\" href=\"https:\/\/in.nau.edu\/web\/video-tabs\/\" target=\"_blank\" rel=\"noopener noreferrer\"><u>Watch the Tabs shortcode video<\/u><\/a><\/p>\n\n\n<!-- shortcode-tab -->\n<div class='shortcode-tab-container tab-count-3'>\n    <ul class='tabs'>\n                <li class=\"tab\">\n            <a class=\"shortcode-tab__trigger\" href=\"#\" data-header=\"Overview_1\">\n                <div class=\"shortcode-tab-header selected\">\n                    <h4>\n                        Overview <span class=\"screen-reader-text\">Tab Open<\/span>\n                    <\/h4>\n                <\/div>\n            <\/a>\n        <\/li>\n                <li class=\"tab\">\n            <a class=\"shortcode-tab__trigger\" href=\"#\" data-header=\"How-To_2\">\n                <div class=\"shortcode-tab-header \">\n                    <h4>\n                        How-To <span class=\"screen-reader-text\">Tab Closed<\/span>\n                    <\/h4>\n                <\/div>\n            <\/a>\n        <\/li>\n                <li class=\"tab\">\n            <a class=\"shortcode-tab__trigger\" href=\"#\" data-header=\"Troubleshooting_3\">\n                <div class=\"shortcode-tab-header \">\n                    <h4>\n                        Troubleshooting <span class=\"screen-reader-text\">Tab Closed<\/span>\n                    <\/h4>\n                <\/div>\n            <\/a>\n        <\/li>\n            <\/ul>\n        <!-- shortcode-accordion -->\n<div class=\"shortcode-accordion \" style=\"position: relative;\" >\n        <a class=\"shortcode-accordion__trigger\" data-header=\"Overview_1\" href=\"#\">\n      <div class=\"shortcode-accordion__header\">\n          <h4>Overview <span class=\"screen-reader-text\">Accordion Open<\/span><\/h4>\n          <span class=\"shortcode-accordion__header__arrow\"><\/span>\n      <\/div>\n    <\/a>\n    <div class=\"shortcode-accordion__body\">\n        <!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd\">\n<html><body>\n\n<p>The information you&rsquo;re viewing here is being displayed in tabs. Tabs reduce the amount of page real estate used to display content. In the mobile view, the content from tabs stack up starting from the left tab and moving right.<\/p>\n\n\n    <\/body><\/html>\n\n    <\/div>\n<\/div>\n\n        <!-- shortcode-accordion -->\n<div class=\"shortcode-accordion shortcode-accordion--closed\" style=\"position: relative;\" >\n        <a class=\"shortcode-accordion__trigger\" data-header=\"How-To_2\" href=\"#\">\n      <div class=\"shortcode-accordion__header\">\n          <h4>How-To <span class=\"screen-reader-text\">Accordion Closed<\/span><\/h4>\n          <span class=\"shortcode-accordion__header__arrow\"><\/span>\n      <\/div>\n    <\/a>\n    <div class=\"shortcode-accordion__body\">\n        <!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd\">\n<html><body>\n\n<h2><strong>Best practice<\/strong><\/h2>\n<h3>Tips<\/h3>\n<p>Make sure that the tabs in a group contain parallel types of information about a single topic. Also, make sure you&rsquo;ve grouped the information on each tab in ways that make sense to your site visitors, and you&rsquo;ve labeled each tab using terms that are familiar to your visitors.<\/p>\n<p>If site visitors are likely to want to compare two types of information, think <em>very<\/em> carefully before hiding the content in a tab. In most cases, your visitors would rather <em>not<\/em> have to click to see one set of content and then another.<\/p>\n<p><strong>Consider using tabs when&hellip;<\/strong><\/p>\n<ul>\n<li>You have two or more <em>closely related<\/em> headings accompanied by a medium amount of detailed content.<\/li>\n<li>The content hidden in the tabs isn&rsquo;t very short or very long or especially important for your site visitors.<\/li>\n<\/ul>\n<p><strong>Don&rsquo;t use tabs when&hellip;<\/strong><\/p>\n<ul>\n<li>You only have a single heading and its related content to put into a tab.<\/li>\n<li>The content you want to hide in a tab is very short.<\/li>\n<li>The content you want to hide in a tab is very long.<\/li>\n<\/ul>\n<h2>How to create tabs<\/h2>\n<p><span style=\"font-weight: 400;\">The <\/span><b>tab<\/b><span style=\"font-weight: 400;\"> shortcode allows you to group related content into blocks organized by up to 5 tabs. The shortcode requires a Heading 4 (H4) title and any type of content.<\/span><\/p>\n<ol>\n<li><span style=\"font-weight: 400;\">Select <\/span><b>tab<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Select the number of tabs to include from the dropdown list.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">The shortcode appears in the text editor.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Insert your cursor between the first set of shortcode bookends.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Enter Heading 4 (H4) text for the tab label or title.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Insert text and\/or other elements for tab content.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Repeat steps 3-6 for each tab.<\/span><\/li>\n<\/ol>\n\n\n    <\/body><\/html>\n\n    <\/div>\n<\/div>\n\n        <!-- shortcode-accordion -->\n<div class=\"shortcode-accordion shortcode-accordion--closed\" style=\"position: relative;\" >\n        <a class=\"shortcode-accordion__trigger\" data-header=\"Troubleshooting_3\" href=\"#\">\n      <div class=\"shortcode-accordion__header\">\n          <h4>Troubleshooting <span class=\"screen-reader-text\">Accordion Closed<\/span><\/h4>\n          <span class=\"shortcode-accordion__header__arrow\"><\/span>\n      <\/div>\n    <\/a>\n    <div class=\"shortcode-accordion__body\">\n        <!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd\">\n<html><body>\n\n<p>Check these things if your tabs aren&rsquo;t behaving:<\/p>\n<ul>\n<li>All shortcode brackets and slashes are present<\/li>\n<li>Tab labels are in Heading 4 (H4) format<\/li>\n<\/ul>\n<p>You can always contact the <a href=\"https:\/\/in.nau.edu\/web\/support-request\/\">EASI Web Team<\/a> with questions.<\/p>\n\n\n    <\/body><\/html>\n\n    <\/div>\n<\/div>\n\n    <\/div>\n\n<!-- shortcode-right-column -->\n<div class=\"shortcode-right-column\" >\n    <div class=\"shortcode-right-column__container\">\n<!-- shortcode-block -->\n<div class=\"shortcode-block\">\n      <div class=\"block-header\">\n        <h3>Academic unit site support<\/h3>\n    <\/div>\n          <div class=\"block-body\">\n      <div>\n<i class=\"fas fa-pen\"><\/i> <a href=\"https:\/\/nau.edu\/marketing\/resources\/request-support\/?landing=Digital%20support%20request%20%E2%80%93%20website%20edits%20and%20reporting\">Digital Marketing Support<\/a><\/p>\n<p><i class=\"fas fa-phone\"><\/i> <a href=\"tel:9285231741\">928-523-1741<\/a><\/p>\n<\/div>\n          <\/div>\n  <\/div>\n\n<!-- shortcode-block -->\n<div class=\"shortcode-block\">\n      <div class=\"block-header\">\n        <h3>Business unit site support<\/h3>\n    <\/div>\n          <div class=\"block-body\">\n      <div>\n<i class=\"fas fa-envelope\"><\/i> <a href=\"https:\/\/nau.edu\/servicenow\">ServiceNow<\/a><\/p>\n<p><i class=\"fas fa-phone\"><\/i> <a href=\"tel:9285231511\">928-523-1511<\/a><\/p>\n<\/div>\n          <\/div>\n  <\/div>\n\n<\/div>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Tabs Tabs are web design components that let you stack multiple groups of content in the same space on a web page. Watch the Tabs shortcode video<\/p>\n","protected":false},"author":51,"featured_media":2240,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","ring_central_script_selection":"","footnotes":""},"class_list":["post-2092","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/in.nau.edu\/web\/wp-json\/wp\/v2\/pages\/2092","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/in.nau.edu\/web\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/in.nau.edu\/web\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/in.nau.edu\/web\/wp-json\/wp\/v2\/users\/51"}],"replies":[{"embeddable":true,"href":"https:\/\/in.nau.edu\/web\/wp-json\/wp\/v2\/comments?post=2092"}],"version-history":[{"count":6,"href":"https:\/\/in.nau.edu\/web\/wp-json\/wp\/v2\/pages\/2092\/revisions"}],"predecessor-version":[{"id":7592,"href":"https:\/\/in.nau.edu\/web\/wp-json\/wp\/v2\/pages\/2092\/revisions\/7592"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/in.nau.edu\/web\/wp-json\/wp\/v2\/media\/2240"}],"wp:attachment":[{"href":"https:\/\/in.nau.edu\/web\/wp-json\/wp\/v2\/media?parent=2092"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}