HomeAbout
About the design system
How we build
RoadmapGet started
Overview
Designers
DevelopersFoundations
Overview
Color
Grid
Personalization patterns
Spacing
TypographyTokens
Overview
Global color
Box shadow
Typography
Border
Opacity
Space
Length
Icon
Breakpoints
Media queriesElements
All elements
Accordion
Alert
Audio player
Avatar
Back to top
Badge
Blockquote
Breadcrumb
Button
Call to action
Card
Code block
Dialog
Footer
Health index
Icon
Navigation (primary)
Planned
Navigation (secondary)
Pagination
Popover
Planned
Progress steps
Planned
Site status
Skip link
Spinner
Statistic
Subnavigation
Surface
Switch
Table
Tabs
Tag
Tile
Timestamp
Tooltip
Video embedPatterns
All patterns
Announcement
Card
Disclosure
Filter
Form
Link
Link with icon
Logo wall
Search bar
Skip navigation
Sticky banner
Sticky card
Tabs
Tile
Video thumbnailTheming
Overview
Color palettes
Customizing
DevelopersAccessibility
Fundamentals
Content
Design
Development
Contributors
Qa and testing
Assistive technologies
Resources
Icons
Design/code status
Release notes
Get support
When a user is viewing a page that is part of the secondary navigation information architecture, a red top border is visible. If the current active page is part of a dropdown menu, that dropdown is highlighted with the same top border to indicate it contains the current page. For more details on how to use this current page indicator, refer to the design guidelines for current page indicator.
To enable this indicator style, implementation should apply the aria-current="page" attribute to the current page link.
<ahref="/"aria-current="page">Current page being viewed</a>
The rh-navigation-secondary element does not apply the aria-current="page" attribute itself. The responsibility for keeping track of which link is currently active falls on the content management system or application. The element checks for the presence of this attribute and applies the current page indicator style to nav links and dropdown menus when the active page is within a dropdown menu.
var(----rh-font-family-body-text, RedHatText, 'Red Hat Text', 'Noto Sans Arabic', 'Noto Sans Hebrew', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans Malayalam', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans Thai', Helvetica, Arial, sans-serif)
var(----rh-font-family-heading, RedHatDisplay, 'Red Hat Display', 'Noto Sans Arabic', 'Noto Sans Hebrew', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans Malayalam', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans Thai', Helvetica, Arial, sans-serif)
A menu section which auto upgrades accessibility for headers and sibling list
Slots
3
Slot Name
Description
header
Adds a header tag to section, expects <h1> | <h2> | <h3> | <h4> | <h5> | <h6> element
links
Adds a ul tag to section, expects <ul> | <ol> element
cta
Adds a section level CTA, expects <rh-cta> element
Attributes
0
None
Methods
0
None
Events
0
None
CSS Shadow Parts
1
Part Name
Description
container
container,
element
CSS Custom Properties
0
None
Design Tokens
3
var(----rh-font-family-heading, RedHatDisplay, 'Red Hat Display', 'Noto Sans Arabic', 'Noto Sans Hebrew', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans Malayalam', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans Thai', Helvetica, Arial, sans-serif)