Skip to content

Commit 550494e

Browse files
author
tsheiner
committed
minor doc changes
1 parent ebd2cb4 commit 550494e

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

ui/components/global-navigation/index.docs.jsx

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,25 +66,24 @@ let NavigationBarItem = props =>
6666

6767
export const intro = (
6868
<p className="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.
7070
</p>
7171
);
7272

7373
export default (
7474
<ComponentDocs>
7575
<h2 className={pf('site-text-heading--label')}>1.0. Building the Navigation Bar</h2>
7676
<NavigationBar showSections />
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 <CodeClass className="context-bar" />, will be described using ordering terms such as <strong>&ldquo;primary&rdquo;</strong>, <strong>&ldquo;secondary&rdquo;</strong>, <strong>&ldquo;tertiary&rdquo;</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 <CodeClass className="context-bar" /> needs the appropriate ordering class name, e.g. <CodeClass className="slds-context-bar__primary" />.
8887

8988
<h2 className={pf('site-text-heading--label')}>1.1. Items on the Navigation Bar</h2>
9089
<NavigationBar showItems />

0 commit comments

Comments
 (0)