diff --git a/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayPageTest.php b/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayPageTest.php
index 49ed01c..3aa662a 100644
--- a/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayPageTest.php
+++ b/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayPageTest.php
@@ -46,6 +46,14 @@ public function testPageResponses() {
     $this->assertResponse(403);
     $this->drupalGet('test_page_display_404');
     $this->assertResponse(404);
+
+    // Test accessing a page for a disabled view.
+    $this->drupalGet('test_page_display_disabled');
+    $this->assertResponse(200);
+    // Disable the view, rebuild menu, and request the page again.
+    $view->storage->disable()->save();
+    $this->drupalGet('test_page_display_disabled');
+    $this->assertResponse(404);
   }
 
 }
diff --git a/core/modules/views/tests/views_test_config/test_views/views.view.test_page_display.yml b/core/modules/views/tests/views_test_config/test_views/views.view.test_page_display.yml
index 01f50ff..75ed2cb 100644
--- a/core/modules/views/tests/views_test_config/test_views/views.view.test_page_display.yml
+++ b/core/modules/views/tests/views_test_config/test_views/views.view.test_page_display.yml
@@ -19,14 +19,21 @@ display:
     display_plugin: page
     display_title: Page
     id: page_1
-    position: '0'
+    position: '1'
   page_2:
     display_options:
       path: test_page_display_404
     display_plugin: page
     display_title: Page
     id: page_2
-    position: '0'
+    position: '2'
+  page_3:
+    display_options:
+      path: test_page_display_disabled
+    display_plugin: page
+    display_title: Page
+    id: page_3
+    position: '3'
 label: ''
 id: test_page_display
 tag: ''
diff --git a/core/modules/views_ui/lib/Drupal/views_ui/ViewEditFormController.php b/core/modules/views_ui/lib/Drupal/views_ui/ViewEditFormController.php
index 5a0780e..6407990 100644
--- a/core/modules/views_ui/lib/Drupal/views_ui/ViewEditFormController.php
+++ b/core/modules/views_ui/lib/Drupal/views_ui/ViewEditFormController.php
@@ -82,7 +82,9 @@ public function form(array $form, array &$form_state, EntityInterface $view) {
       '#prefix' => '',
       '#suffix' => '',
     );
-    $form['#prefix'] .= '<div class="views-edit-view views-admin clearfix">';
+
+    $view_status = $view->status() ? 'enabled' : 'disabled';
+    $form['#prefix'] .= '<div class="views-edit-view views-admin ' . $view_status . ' clearfix">';
     $form['#suffix'] = '</div>' . $form['#suffix'];
 
     $form['#attributes']['class'] = array('form-edit');
