Table
Tables are used to display data in a structured and organized manner. It is the most common way to display a lot of structured data in a web page. Since we use the <table>
tag, it is accessible to the screen reader without any modification.
Simple Table
A simple table with a header and a body.
Thematic Table
A variation of the simple table with more thematic colors.
Table With Cell Borders
A variation of the simple table with cell borders.
Table With A Caption
A table with a caption, done semantically with the <caption>
tag.
Table With Conditional Styling
A table with conditional styling for cells based on the value of a column.
Accessibility Note: While the colors are a good visual indicator, for accessibility ravixUI has added text in the table header for both visual and screen reader users. This is just one approach, you can also add another column to represent the same. The styling in this table is just a showcase of the different ways you can use conditional styling. In a real-world scenario, you would likely stick to one format for styling.
Accessibility Testing Status
Component | NVDA | Windows Narrator | WAVE | Axe | IBM Equal Access |
---|---|---|---|---|---|
Simple Table | Yes | Yes | Yes | Yes | Yes |
Thematic Table | Yes | Yes | Yes | Yes | Yes |
Table With Cell Borders | Yes | Yes | Yes | Yes | Yes |
Table With A Caption | Yes | Yes | Yes | Yes | Yes |
The tables adhere to the WCAG 2.1 AA standards for accessibility.
Additional manual testing maybe required to ensure the tables are accessible in your specific use case.