Accessible HTML Patterns

An accordion allows users to expand and collapse a section of content as needed.

Structure/Layout

An alert is a message that communicates important feedback to the user in response to an action or event.

Status/Info

A button triggers an action or event when activated.

Function/Input

A breadcrumb trail consists of a list of links to the parent pages of the current page in hierarchical order.

Navigation

A card is a container that groups related information and actions about a single subject into a compact block.

Structure/Layout

A carousel cycles through a sequence of content panels within a single compact section.

Structure/Layout

A combobox is an input control that displays a dropdown list of options.

Function/Input

A dialog is a window overlaid on the page that interrupts the user's flow to request input or display important information.

Status/Info

A form is a section containing interactive controls that collect input from the user.

Structure/Layout

An input group is a set of related form controls grouped together under a shared label.

Structure/Layout

An input field is a form control that allows users to enter or select a value.

Function/Input

A link navigates the user to another location.

Navigation

Landmarks are used to designate major sections of a webpage.

Structure/Layout

A navigation menu lists the links to the main pages of a website.

Navigation

Pagination allows users to navigate between pages of content, one page at a time.

Navigation

A stepper guides users through a multi-step process by displaying all steps and indicating progress.

Navigation

A table organises data into rows and columns.

Structure/Layout

Tabs organise content into multiple panels, of which only one is visible at a time.

Navigation

A tooltip is a small popup that provides supplementary information about an element.

Status/Info