diff --git a/core/modules/help/src/Controller/HelpController.php b/core/modules/help/src/Controller/HelpController.php
index 3561fde58e80fca7302ebb7bd3c382263f469907..ab969d8c137c82c51a5e437064337a0c0a2d49fc 100644
--- a/core/modules/help/src/Controller/HelpController.php
+++ b/core/modules/help/src/Controller/HelpController.php
@@ -137,7 +137,8 @@ public function helpPage($name) {
           $link['title'] = $task['title'];
           $links[] = $link;
         }
-        $build['links']['#links'] = array(
+        $build['links'] = array(
+          '#theme' => 'links__help',
           '#heading' => array(
             'level' => 'h3',
             'text' => $this->t('@module administration pages', array('@module' => $module_name)),
diff --git a/core/modules/help/src/Tests/HelpTest.php b/core/modules/help/src/Tests/HelpTest.php
index 0ea0d426a35d091442a5be74b7a22b1abaa3369c..66626a582628d876db197ba3d55657d7b1697908 100644
--- a/core/modules/help/src/Tests/HelpTest.php
+++ b/core/modules/help/src/Tests/HelpTest.php
@@ -50,8 +50,9 @@ protected function setUp() {
    * Logs in users, creates dblog events, and tests dblog functionality.
    */
   public function testHelp() {
-    // Login the admin user.
-    $this->drupalLogin($this->adminUser);
+    // Login the root user to ensure as many admin links appear as possible on
+    // the module overview pages.
+    $this->drupalLogin($this->rootUser);
     $this->verifyHelp();
 
     // Login the regular user.
@@ -95,6 +96,13 @@ protected function verifyHelp($response = 200) {
       if ($response == 200) {
         $this->assertTitle($name . ' | Drupal', format_string('%module title was displayed', array('%module' => $module)));
         $this->assertRaw('<h1 class="page-title">' . t($name) . '</h1>', format_string('%module heading was displayed', array('%module' => $module)));
+        $admin_tasks = system_get_module_admin_tasks($module, system_get_info('module', $module));
+        if (!empty($admin_tasks)) {
+          $this->assertText(t('@module administration pages', array('@module' => $name)));
+        }
+        foreach ($admin_tasks as $task) {
+          $this->assertLink($task['title']);
+        }
       }
     }
   }