A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.w3.org/WAI/ARIA/apg/patterns/table/examples/sortable-table/../table/ below:

Table Example | APG | WAI

Table Example Table Example The code in this example is not intended for production environments. Before using it for any purpose, read this to understand why.

This is an illustrative example of one way of using ARIA that conforms with the ARIA specification.

About This Example

The below example illustrates an implementation of the WAI-ARIA Table Pattern. Note that when possible, using a native HTML table element is recommended.

Similar examples include:

Students currently enrolled in WAI-ARIA 101 for the coming semester

First Name Last Name Company Address

Fred Jackson Acme, Inc. 123 Broad St.

Sara James Acme, Inc. 123 Broad St.

Ralph Jefferson XYZ, Inc. 456 Main St.

Nancy Jensen XYZ, Inc. 456 Main St.

Keyboard Support

Not Applicable

Role, Property, State, and Tabindex Attributes Role Attribute Element Usage table div Identifies the element containing the table structure. aria-label="Students" div Provides an accessible name for the table. aria-describedby="IDREF" div Refers to the element that serves as the caption for the table. rowgroup div row div Identifies each element that contains the cells for a row. columnheader span Identifies elements that serve as a cell containing a column label. cell span Identifies elements containing content for a single cell. JavaScript and CSS Source Code HTML Source Code

To copy the following HTML code, please open it in CodePen.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4