Header
ACE Header can be placed in one of two locations:
- within
#header
to provide a Page Header - at the top of
.ace-page-content-content
to provide a Content Header
Header combines with the stock group/item pattern to set up layout of the various types of Header Item:
- Logo - only for use with logo images in the header. When used, Logo must always be the first or last child element.
- You must not show two ansarada logos in the header.
- Main - main contents of the header, eg. the heading, breadcrumb or filter lozenges.
- Controls - main contain buttons. When use, Controls must always be the last child element.
Note that only the #header
element should have the ARIA banner role (one per page/view):
<header id="header" role="banner">(header)</header>
The role attribute is not repeated on every instance of a header.
Example | Element | Code |
---|---|---|
ACE |
Page header. |
|
Content Heading |
Content header. |
|