diff --git a/core/modules/ckeditor/src/Plugin/Editor/CKEditor.php b/core/modules/ckeditor/src/Plugin/Editor/CKEditor.php
index e130737..d538b60 100644
--- a/core/modules/ckeditor/src/Plugin/Editor/CKEditor.php
+++ b/core/modules/ckeditor/src/Plugin/Editor/CKEditor.php
@@ -215,7 +215,7 @@ public function settingsForm(array $form, array &$form_state, EditorEntity $edit
     // because otherwise we cannot retrieve per-feature metadata.
     unset($config['allowedContent']);
     $form['hidden_ckeditor'] = array(
-      '#markup' => '<div id="ckeditor-hidden" class="element-hidden"></div>',
+      '#markup' => '<div id="ckeditor-hidden" class="hidden"></div>',
       '#attached' => array(
         'js' => array(
           array(
diff --git a/core/modules/quickedit/js/quickedit.js b/core/modules/quickedit/js/quickedit.js
index 15e5162..bf5ed42 100644
--- a/core/modules/quickedit/js/quickedit.js
+++ b/core/modules/quickedit/js/quickedit.js
@@ -405,7 +405,7 @@
     // @see https://drupal.org/node/2029999.
     var id = 'quickedit-load-editors';
     // Create a temporary element to be able to use Drupal.ajax.
-    var $el = $('<div id="' + id + '" class="element-hidden"></div>').appendTo('body');
+    var $el = $('<div id="' + id + '" class="hidden"></div>').appendTo('body');
     // Create a Drupal.ajax instance to load the form.
     var loadEditorsAjax = new Drupal.ajax(id, $el, {
       url: Drupal.url('quickedit/attachments'),
diff --git a/core/modules/views_ui/js/views-admin.js b/core/modules/views_ui/js/views-admin.js
index bbb408d..7eb7b54 100644
--- a/core/modules/views_ui/js/views-admin.js
+++ b/core/modules/views_ui/js/views-admin.js
@@ -559,7 +559,7 @@
 
       // Get rid of the explanatory text around the operator; its placement is
       // explanatory enough.
-      this.operator.find('label').add('div.description').addClass('element-invisible');
+      this.operator.find('label').add('div.description').addClass('visually-hidden');
       this.operator.find('select').addClass('form-select');
 
       // Keep a list of the operator dropdowns, so we can sync their behavior later.
