MDL-81265 mod_workshop: Fix accessibility issues

* Page title should be h2
* Contrasts in the table headers (for submission, assessment and grading)
should be 4:1 at least
This commit is contained in:
Laurent David
2024-07-09 21:28:33 +02:00
parent 7d7a871edd
commit 37b6eea44f
2 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -1261,7 +1261,7 @@ class mod_workshop_renderer extends plugin_renderer_base {
$output = '';
$output .= $this->render_action_buttons($workshop, $userplan);
$output .= $this->heading(format_string($currentphasetitle), 3, null, 'mod_workshop-userplanheading');
$output .= $this->heading(format_string($currentphasetitle), 2, null, 'mod_workshop-userplanheading');
$output .= $this->render($userplan);
$output .= $this->view_submissions_report($workshop, $userplan, $page, $sortby, $sorthow);