Surface
>
Since v1.3.0
>
On this page
On this page
Overview
A surface provides color context to descendants via color-palette.
Authors must set a color-palette and should use surface only when
containers like rh-card are not appropriate. Each palette provides
WCAG-compliant contrast when using the default theme. Surface is
non-interactive: Tab and focus pass through to focusable children.
Users of AT perceive no additional semantics from this element.
Edit element properties
Red Hat legal and privacy links
- About Red Hat
- Jobs
- Events
- Locations
- Contact Red Hat
- Red Hat Blog
- Inclusion at Red Hat
- Cool Stuff Store
- Red Hat Summit