- 🇨🇦Canada mgifford Ottawa, Ontario
Relevant link https://www.w3.org/WAI/tutorials/tables/multi-level/
Worth looking at this example from We4Authors Cluster.
https://accessibilitycluster.com/main-results/table-creatorWould be associated with WCAG 1.3.1.
- Status changed to Needs review
almost 2 years ago 2:17pm 23 January 2023 - 🇮🇳India ameymudras
Adding a patch for D10 and attempting to fix cspell issue. Couldn't generate interdiff because of whitespace issue
- Status changed to Needs work
almost 2 years ago 11:57pm 30 January 2023 The Needs Review Queue Bot → tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide → to find step-by-step guides for working with issues.
Fix "Warning: Undefined array key "content" in claro_preprocess_table() (line 1015 of /var/www/web/core/themes/claro/claro.theme)"
- Status changed to Needs review
almost 2 years ago 6:53am 3 March 2023 - 🇮🇳India gauravvvv Delhi, India
I have attached re-rolled patch for 10.1.x. please review
- Status changed to Needs work
almost 2 years ago 6:44pm 8 March 2023 - 🇺🇸United States smustgrave
Using the examples module with form API
Added this to the form (copied from the test)$form['table'] = [ '#type' => 'table', '#header' => [ 'row1' => [ 'bigcell' => [ 'data' => 'Big header', 'rowspan' => 2, ], 'longcell' => [ 'data' => 'Long header', 'colspan' => 2, ], 'Small header', ], 'row2' => ['cell1', 'cell2', 'cell3'], ], '#header_multilevel' => TRUE, '#empty' => 'There are no lines here.', ];
Had to switch to olivero theme but it seemed to show correctly
But tried with a contrib theme and it broke completely so a change record will be needed and regular tables will have to be tested to make sure this isn't introducing a bug to existing sites.
For accessibility
Using the ANDI testing tool
Got 2 errors for the cells in pink Scope association needed at intersection of - last update
over 1 year ago 30,342 pass - Merge request !8044Issue #893530: added multi-level header support for table element → (Open) created by Unnamed author
- ðŸ‡ðŸ‡ºHungary Sweetchuck Budapest
Has anybody tried this with a sticky table header?