mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
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:
parent
f9c5802f4e
commit
f95b010ec5
@ -243,15 +243,16 @@
|
||||
.path-mod-workshop .userplan dt {
|
||||
vertical-align: bottom;
|
||||
white-space: normal;
|
||||
color: #999;
|
||||
border-bottom: 1px solid #ddd;
|
||||
color: #495057;
|
||||
background-color: #f5f5f5;
|
||||
border-bottom: 1px solid #ced4da;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
.path-mod-workshop .userplan dt.active {
|
||||
vertical-align: top;
|
||||
color: black;
|
||||
border: 1px solid #ddd;
|
||||
color: #212529;
|
||||
border: 1px solid #ced4da;
|
||||
border-bottom: 0;
|
||||
border-top: 0;
|
||||
background: #e7f1c3;
|
||||
@ -322,7 +323,7 @@
|
||||
|
||||
.path-mod-workshop .userplan dd {
|
||||
vertical-align: top;
|
||||
border-right: 1px solid #ddd;
|
||||
border-right: 1px solid #ced4da;
|
||||
background-color: #f5f5f5;
|
||||
margin: 0;
|
||||
min-height: 180px;
|
||||
@ -335,7 +336,7 @@
|
||||
.path-mod-workshop .userplan dd a:hover,
|
||||
.path-mod-workshop .userplan dd a:visited,
|
||||
.path-mod-workshop .userplan dd a:active {
|
||||
color: #999;
|
||||
color: #495057;
|
||||
}
|
||||
|
||||
.path-mod-workshop .userplan dd.active,
|
||||
@ -344,7 +345,7 @@
|
||||
.path-mod-workshop .userplan dd.active a:hover,
|
||||
.path-mod-workshop .userplan dd.active a:visited,
|
||||
.path-mod-workshop .userplan dd.active a:active {
|
||||
color: black;
|
||||
color: #212529;
|
||||
}
|
||||
|
||||
.path-mod-workshop .userplan dd.lastcol {
|
||||
|
@ -158,7 +158,7 @@ switch ($workshop->phase) {
|
||||
}
|
||||
}
|
||||
|
||||
echo $output->heading(format_string($currentphasetitle), 3, null, 'mod_workshop-userplanheading');
|
||||
echo $output->heading(format_string($currentphasetitle), 2, null, 'mod_workshop-userplanheading');
|
||||
echo $output->render($userplan);
|
||||
|
||||
switch ($workshop->phase) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user