Found this content helpful? Log in or sign up to leave a like!
Tables in Canvas Pages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Odd thing...
We have some Canvas generated tables on a page. We save them. We look at them as a student. We put the cursor in the first cell block. We then try to tab from cell to cell to test keyboard accessible functionality. But rather than tabbing cell to cell, it jumps us to the Next Page button (skipping the entire table). We've tried this repeatedly. It's not an image. It's a table.
We're confused. The only way to 'read' the table is using Immersive Reader.
What is going on?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Except @RobertGibson says that this is a data table, NOT a layout table - so this advice would be the opposite of accessibility in this case. His particular question is about keyboard navigation, but for anyone else who happens by, following the advice to use <divs> for a data table would make it inaccessible to anyone who uses a screen reader.
I would strongly recommend using semantic html for data tables, like Canvas uses. To quote WHATWG, "Authors are strongly encouraged to view the div
element as an element of last resort, for when no other element is suitable. Use of more appropriate elements instead of the div
element leads to better accessibility for readers and easier maintainability for authors."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To support what Jenn posted; the semantic elements are the <table>, <th>, and <td> elements. CSS class names are not used for accessibility.
Laura