You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ui/components/global-navigation/index.docs.jsx
+11-12Lines changed: 11 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -66,25 +66,24 @@ let NavigationBarItem = props =>
66
66
67
67
exportconstintro=(
68
68
<pclassName="site-text-introduction">
69
-
Navigation represents a list of links that either take the user to another page or parts of the page the user is in.
69
+
Global Navigation is the list of navigation links your users find in the Header on every page in Salesforce. Your Global Navigation includes a Navigation Bar where your users find the App Launcher, App Name, and Pages that each App includes.
70
70
</p>
71
71
);
72
72
73
73
exportdefault(
74
74
<ComponentDocs>
75
75
<h2className={pf('site-text-heading--label')}>1.0. Building the Navigation Bar</h2>
76
76
<NavigationBarshowSections/>
77
-
<p>The navigation bar is composed of a wrapper and 3 regions.</p>
78
-
<dl>
79
-
<dt><strong>Primary:</strong></dt>
80
-
<dd>App Switcher + App Name + Object Switcher</dd>
81
-
<dt><strong>Secondary:</strong></dt>
82
-
<dd>Contextual Navigation</dd>
83
-
<dt><strong>Tertiary:</strong></dt>
84
-
<dd>Contextual Actions</dd>
85
-
</dl>
86
-
<p>The markup should follow the order listed above where the Contextual Navigation, either hyperlinks or tabs, should be the last element. This will allow for proper keyboard interaction set by the 508 compliance standards.</p>
87
-
<p>Each region inside the wrapper of <CodeClassclassName="context-bar"/>, will be described using ordering terms such as <strong>“primary”</strong>, <strong>“secondary”</strong>, <strong>“tertiary”</strong>. This will describe the markup ordering, not the visual ordering since we want the navigation last for keyboard interactions but visually displayed as adjacent to the app switcher.</p>
77
+
<p>The navigation bar is composed of a wrapper and 2 required and 1 optional region:</p>
78
+
79
+
<ul>
80
+
<li><strong>Primary,</strong> which contains the App Launcher and App Name</li>
81
+
<li><strong>Secondary,</strong> which contains the App Items, for navigating within the current app</li>
82
+
<li>And optionally, <strong>Tertiary,</strong> which includes Actions, for triggering actions specific to the current app.</li>
83
+
</ul>
84
+
85
+
<p>The markup should follow the order listed above for proper keyboard interaction set by the 508 compliance standards.
86
+
Each included region inside the wrapper of <CodeClassclassName="context-bar"/> needs the appropriate ordering class name, e.g. <CodeClassclassName="slds-context-bar__primary"/>.
88
87
89
88
<h2className={pf('site-text-heading--label')}>1.1. Items on the Navigation Bar</h2>
0 commit comments