diff --git a/core/includes/theme.maintenance.inc b/core/includes/theme.maintenance.inc
index 55809e4503983c80eeb3d9b15c931cf48176c3db..0077f88e1f817deb1619bbd2e2351a5bf80e036f 100644
--- a/core/includes/theme.maintenance.inc
+++ b/core/includes/theme.maintenance.inc
@@ -139,7 +139,7 @@ function theme_task_list($variables) {
     $output .= '<li';
     $output .= ($class ? ' class="' . $class . '"' : '') . '>';
     $output .= $item;
-    $output .= ($status ? '<span class="visually-hidden">' . $status . '</span>' : '');
+    $output .= ($status ? '<span class="visually-hidden"> ' . $status . '</span>' : '');
     $output .= '</li>';
   }
   $output .= '</ol>';