Package org.patternfly.component.page
Class SkipToContent
- java.lang.Object
-
- org.patternfly.component.BaseComponent<HTMLDivElement,SkipToContent>
-
- org.patternfly.component.page.SkipToContent
-
- All Implemented Interfaces:
Container<HTMLDivElement,SkipToContent>,Finder<HTMLDivElement>,HasElement<HTMLDivElement,SkipToContent>,HasHTMLElement<HTMLDivElement,SkipToContent>,IsElement<HTMLDivElement>,TypedBuilder<HTMLDivElement,SkipToContent>,Component
public class SkipToContent extends BaseComponent<HTMLDivElement,SkipToContent>
A skip to content component allows screen reader and keyboard users to bypass navigation rather than tabbing through it.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SkipToContentskipToContent(String mainId)Creates a new component with the given main ID and a default text.static SkipToContentskipToContent(String mainId, String text)Creates a new component with the given main ID and a text.SkipToContentthat()-
Methods inherited from class org.patternfly.component.BaseComponent
componentType, element
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.elemento.Container
add, add, addAll, addAll, addAll, addAll, addAll
-
Methods inherited from interface org.jboss.elemento.HasElement
add, apply, aria, aria, aria, attr, attr, attr, css, id, id, innerHtml, on, textContent, toggle, toggle, toggle
-
Methods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, title
-
-
-
-
Method Detail
-
skipToContent
public static SkipToContent skipToContent(String mainId)
Creates a new component with the given main ID and a default text.
-
skipToContent
public static SkipToContent skipToContent(String mainId, String text)
Creates a new component with the given main ID and a text.
-
that
public SkipToContent that()
-
-