- Steps component uses the nav element and since any attribute is passed to the root implicitly aria-labelledby or aria-label can be used to describe the component. Inside an ordered list is used where the current step - item defines aria-current as "step". -
- -Key | -Function | -
---|---|
- tab - | -Adds focus to the active step when focus moves in to the component, if there is already a focused tab header then moves the focus out of the component based on the page tab sequence. | -
- enter - | -Activates the focused step if readonly is not enabled. | -
- space - | -Activates the focused step if readonly is not enabled. | -
- right arrow - | -Moves focus to the next step if readonly is not enabled. | -
- left arrow - | -Moves focus to the previous step if readonly is not enabled. | -
- home - | -Moves focus to the first step if readonly is not enabled. | -
- end - | -Moves focus to the last step if readonly is not enabled. | -
Steps requires a collection of menuitems as its model.
-Steps can be controlled programmatically using activeStep property.
-Steps is linear by default to enforce completion of a previus step to proceed, set readonly as false for non-linear mode.
-Steps offers item customization with the item template that receives the item instance from the model as a parameter.
-{{ $attrs.description }}
-- Visit Tailwind Presets project for detailed documentation, examples and ready-to-use presets about how to style - PrimeVue components with Tailwind CSS. -
-- TabMenu component uses the menubar role and the value to describe the menu can either be provided with aria-labelledby or aria-label props. Each list item has a presentation role whereas anchor elements have a - menuitem role with aria-label referring to the label of the item and aria-disabled defined if the item is disabled. -
- -Key | -Function | -
---|---|
- tab - | -Adds focus to the active tab header when focus moves in to the component, if there is already a focused tab header moves the focus out of the component based on the page tab sequence. | -
- enter - | -Activates the focused tab header. | -
- space - | -Activates the focused tab header. | -
- right arrow - | -Moves focus to the next header. | -
- left arrow - | -Moves focus to the previous header. | -
- home - | -Moves focus to the first header. | -
- end - | -Moves focus to the last header. | -
TabMenu requires a collection of menuitems as its model.
-The command property defines the callback to run when an item is activated by click or a key event.
-Tabs can be controlled programmatically using activeIndex property.
-Items with navigation are defined with templating to be able to use a router link component, an external link or programmatic navigation.
-TabMenu offers item customization with the item template that receives the menuitem instance from the model as a parameter.
-- Visit Tailwind Presets project for detailed documentation, examples and ready-to-use presets about how to style - PrimeVue components with Tailwind CSS. -
-