The table value of the ARIA role attribute identifies the element containing the role as having a non-interactive table structure containing data arranged in rows and columns, similar to the native
<table>
HTML element.Description
An element with is a static tabular structure with rows containing cells. The cells are not focusable or selectable, though widgets within individual cells of the table can be interactive. Using a native HTML table element whenever possible is strongly encouraged.
Synopsis On a day trip through the countryside, aspiring opera singer In-jeong flees to the woods to escape the advances of her lecherous professor and mentor, Yeong-sun. A Bloody Aria On a day trip through the countryside, a young singer In-jeong flees to the woods to escape the advances of her lecherous professor and runs into a disturbed group of country-bred. A review of “A Bloody Aria”, a Korean dramatic thriller from 2006. An aspiring young singer travels to the countryside with her college professor. She wants to learn more about the outcome of her.
If a table maintains a selection state, has two-dimensional navigation, or allows the user to rearrange cell order use grid or treegrid instead.
To create an ARIA table, add
role='table'
to the container element. Within that container, each row has role='row'
set and contains child cells. Each cell has a role of either columnheader
, rowheader
, or simply cell
. Rows can be children of the table or within a rowgroup
.The table caption can be defined via aria-labelledby or aria-label. All other semantic table elements, such as
<tbody>
, <thead>
, <tr>
, <th>
, and <td>
need to be added via associated roles, such as rowgroup
, row
, columnheader
, and cell
.If the table contains sortable columns or rows, the
aria-sort
attribute should be added on the header cell element (not the table itself). If any rows or columns are hidden, the aria-colcount
or aria-rowcount
should be included indicating the total number of columns or rows, respectively, along with the aria-colindex
or aria-rowindex
on each cell. The aria-colindex
or aria-rowindex
is set to the position of a cell within the row or column, respectively. If the table includes cells that span multiple rows or multiple columns, then aria-rowspan
or aria-colspan
should be included as well. Realize, it is much simpler to simply use the <table>
element, along with all the related semantic elements and attributes that are all supported by all assistive technologies.To create an interactive widget that has a tabular structure, use the grid pattern instead. If the interaction provides for the selection state of individual cells, if left to right and top to bottom navigation is provided, or if the user interface allows the rearranging of cell order or otherwise changing individual cell order such as through drag and drop, use grid or treegrid instead.
Note: Using a native HTML table element whenever possible is strongly encouraged.
Associated WAI-ARIA roles, states, and properties
A Bloody Aria 2006
This attribute is only required if the columns are not present in the DOM all the time. It provides an explicit indication of the number of columns in the full table. Set the value to the total number of columns in the full table. If unknown, set
aria-colcount='-1'
.aria-colcount='-1'
.Keyboard interactions
None
Required JavaScript features
None. For sortable columns, see the columnheader aria role.
The first rule of ARIA use is if you can use a native feature with the semantics and behavior you require already built in, instead of re-purposing an element and adding an ARIA role, state or property to make it accessible, then do so. Employ the HTML <table> element instead of the ARIA role of table whenever possible.
Examples
The above is part of a table. While the full table has 81 entries, as indicated by the
aria-rowcount
property, only four are currently visible. The columns are sortable, but not currently sorted, as indicated by the aria-sort property on the column headers.Best practices
Only use table, tbody, thead, tr, th, td, etc., for data table structure. You can add these ARIA roles to ensure accessibility should the native semantics of the table be removed, such as with CSS. A relevant use case for the ARIA table role is when CSS's display property overrides the native semantics of a table, such as by
display: grid
. In this case, you can use the ARIA table roles to re-add the semantics.Added benefits
A Bloody Aria Movie Free Download
none
Specifications
Specification | Status |
---|---|
Accessible Rich Internet Applications (WAI-ARIA) 1.1 The definition of 'ARIA Table Role' in that specification. | Recommendation |
WAI-ARIA Authoring Practices The definition of 'ARIA Table Role' in that specification. | Working Draft |