Skip to main content
cngx-src documentation

withBreadcrumbAriaLabels

Functionui/breadcrumbv0.1.0

projects/ui/breadcrumb/config/features.ts

Description#

Override the breadcrumb family's ARIA-string fallbacks - the bar landmark name and the overflow/siblings trigger + list labels. Per-instance [label] / [triggerLabel] / [menuLabel] bindings still win over the cascade; this only sets the fallback.

provideBreadcrumbConfig(
  withBreadcrumbAriaLabels({ bar: 'Navigation trail' }),
);

Signature#

withBreadcrumbAriaLabels(payload: NonNullable)

Parameters#

@parampayloadNonNullable

Returns#

CngxBreadcrumbConfigFeature