Pages
Ui.AvoidFocus
This component makes possible to have arbitrary HTML content which behaves like static content:
- Tab focus is disabled by adding
tabindex="-1"
to all child elements. - Pointer focus is disabled with the
pointer-events: none
CSS. - Firefox focus ring because of
tabindex
is removed withoutline: none !important
CSS. - All elements are hidden from screen readers.
Properties
The child elements.
Whether or not to disable cursor events as well.
Functions
Renders the component.
Sets tabindex="-1"
on all child elements.