Marker directive for items managed by CngxRovingTabindex
CngxRovingItem
Directivev0.1.0WCAG AA
projects/common/a11y/roving/roving-tabindex.directive.ts
Import#
import { CngxRovingItem } from '@cngx/common/a11y'
Description#
Marker directive for items managed by CngxRovingTabindex.
Place on each focusable child inside a [cngxRovingTabindex] container.
The roving tabindex controller sets tabindex="0" on the active item
and tabindex="-1" on all others.
<div cngxRovingTabindex>
<button cngxRovingItem>One</button>
<button cngxRovingItem>Two</button>
<button cngxRovingItem>Three</button>
</div>Metadata#
Relationships
Used by5
componentCngxPaginatorAlphaAlphabetical / category chips: a `role="group"` toggle strip over the {@link CngxBucketPaginate} range model.
componentCngxPaginatorDotsThe dots indicator: one circular `` per page inside a clipped viewport track.
componentCngxPaginatorPagesThe numbered page row.
componentCngxRatingStar/heart rating value control for `cngx-form-field`.
componentCngxStepperStepper organism.