44 < title > Horizontal - App Title</ title >
55 < meta charset ="utf-8 " />
66 < meta name ="viewport " content ="width=device-width, initial-scale=1 " />
7- <!-- CHANGE ME : update or remove -->
7+ <!-- FIXME : update or remove -->
88 < base href ="{{site.baseHref}} " />
99
1010 < link rel ="shortcut icon " href ="images/favicon.png " />
1919 < script src ="{{data.url.cdn}}/{{data.cdn.js.polyfillLoader}} "> </ script >
2020</ head >
2121< body class ="hxHorizontal " id ="top ">
22+ <!--
23+ a11y: This link should be the first item a user can tab to.
24+ -->
25+ < a href ="#content "> Skip to main content</ a >
26+
2227 < header id ="head ">
2328 <!-- Eyebrow Goes Here -->
2429 </ header >
2530
26- < div id ="stage ">
27- < nav id ="nav " class ="hxNav ">
28- {% include 'partials/app_nav.njk' %}
29- </ nav >
30-
31- < main id ="content ">
32- < hx-panel class ="hxSpan-7-xs ">
33- < hx-panelbody class ="hxBox-md ">
34- <!--
35- NOTE: not all apps will have use for breadcrumbs in a Horizontal layout.
36- -->
37- < nav class ="hxBreadcrumb ">
38- < a href ="# "> Home</ a >
39- < hx-icon class ="delimiter " type ="angle-right "> </ hx-icon >
40- < a href ="components/layouts "> Layouts</ a >
41- < hx-icon class ="delimiter " type ="angle-right "> </ hx-icon >
42- < a href ="# "> Horizontal Layout</ a >
43- </ nav >
44- < h1 > Left Panel</ h1 >
45-
46- < div class ="hxAlert ">
47- < div class ="hxAlert__icon ">
48- < hx-icon type ="info-circle "> </ hx-icon >
49- </ div >
50- < div class ="hxAlert__text ">
51- Copy the source of this page to use as a template for your application.
31+ < div id ="app ">
32+ < div id ="stage ">
33+ < nav id ="nav " class ="hxNav ">
34+ {% include 'partials/app_nav.njk' %}
35+ </ nav >
36+
37+ <!--
38+ a11y: For accessibility support in legacy browsers, the
39+ role="main" attribute must be present.
40+ -->
41+ < main role ="main " id ="content ">
42+ < hx-panel class ="hxSpan-7-xs ">
43+ < hx-panelbody class ="hxBox-md ">
44+ <!--
45+ NOTE: not all apps will have use for breadcrumbs in a Horizontal layout.
46+ -->
47+ < nav class ="hxBreadcrumb ">
48+ < a href ="# "> Home</ a >
49+ < hx-icon class ="delimiter " type ="angle-right "> </ hx-icon >
50+ < a href ="components/layouts "> Layouts</ a >
51+ < hx-icon class ="delimiter " type ="angle-right "> </ hx-icon >
52+ < a href ="# "> Horizontal Layout</ a >
53+ </ nav >
54+ < h1 > Left Panel</ h1 >
55+
56+ < div class ="hxAlert ">
57+ < div class ="hxAlert__icon ">
58+ < hx-icon type ="info-circle "> </ hx-icon >
59+ </ div >
60+ < div class ="hxAlert__text ">
61+ Copy the source of this page to use as a template for your application.
62+ </ div >
5263 </ div >
53- </ div >
54-
55- < ul >
56- < li >
57- The application footer will remain at the bottom of the screen.
58- </ li >
59- < li >
60- Content is arranged using panels.
61- < ul >
62- < li >
63- The main content area ( < code > main#content </ code > ) is styled to
64- provide a row-based flexbox layout. You can use the column
65- width classes available in the Grid to divide the space.
66- </ li >
67- < li >
68- Each panel scrolls vertically, independently of other panels.
69- </ li >
70- </ ul >
71- </ li >
72- < li >
73- Use your best judgement to size panels so that content within each
74- panel is readable.
75- </ li >
76- </ ul >
77- </ hx-panelbody >
78- </ hx-panel >
79-
80- < hx-panel class ="hxSpan-5-xs ">
81- < hx-panelbody class =" hxBox-md " >
82- < h2 > Right Panel </ h2 >
83- </ hx-panelbody >
84- </ hx-panel >
85- </ main >
64+
65+ < ul >
66+ < li >
67+ The application footer will remain at the bottom of the screen.
68+ </ li >
69+ < li >
70+ Content is arranged using panels.
71+ < ul >
72+ < li >
73+ The main content area ( < code > main#content </ code > ) is styled to
74+ provide a row-based flexbox layout. You can use the column
75+ width classes available in the Grid to divide the space.
76+ </ li >
77+ < li >
78+ Each panel scrolls vertically, independently of other panels.
79+ </ li >
80+ </ ul >
81+ </ li >
82+ < li >
83+ Use your best judgement to size panels so that content within each
84+ panel is readable.
85+ </ li >
86+ </ ul >
87+ </ hx-panelbody >
88+ </ hx-panel >
89+
90+ < hx-panel class =" hxSpan-5-xs " >
91+ < hx-panelbody class ="hxBox-md ">
92+ < h2 > Right Panel </ h2 >
93+ </ hx-panelbody >
94+ </ hx-panel >
95+ </ main >
96+ </ div >
8697 </ div >
8798
8899 < footer id ="foot ">
@@ -103,6 +114,7 @@ <h2>Right Panel</h2>
103114 <!-- FIXME: point to adapter in node_modules/@webcomponents/webcomponentsjs -->
104115 < script src ="{{data.url.cdn}}/{{data.cdn.js.es5adapter}} "> </ script >
105116 </ span >
117+
106118 <!-- FIXME: point to HelixUI behavior in node_modules/helix-ui -->
107119 < script src ="dist/scripts/helix-ui.browser.min.js "> </ script >
108120
0 commit comments