Contain background jobs options in fieldset to improve accessibility, fix #13795

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2019-01-25 10:52:29 +01:00
parent 20854f463b
commit f2391133e7
No known key found for this signature in database
GPG Key ID: CBD846FC845CBE17
1 changed files with 42 additions and 37 deletions

View File

@ -55,6 +55,9 @@
href="<?php p(link_to_docs('admin-background-jobs')); ?>"></a>
<p class="settings-hint"><?php p($l->t('For optimal performance it\'s important to configure background jobs correctly. For bigger instances \'Cron\' is the recommended setting. Please see the documentation for more information.'));?></p>
<form action="#">
<fieldset>
<legend class="hidden-visually"><?php p($l->t('Pick background job setting'));?></legend>
<p>
<input type="radio" name="mode" value="ajax" class="radio"
id="backgroundjobs_ajax" <?php if ($_['backgroundjobs_mode'] === "ajax") {
@ -92,4 +95,6 @@
} ?></em>
</p>
</fieldset>
</form>
</div>