From 69d084fce2071e30c30c21b38eabea88018b92f9 Mon Sep 17 00:00:00 2001
From: catch <catch@35733.no-reply.drupal.org>
Date: Tue, 2 Aug 2022 14:59:22 +0900
Subject: [PATCH] =?UTF-8?q?Issue=20#3296096=20by=20G=C3=A1bor=20Hojtsy,=20?=
 =?UTF-8?q?smustgrave,=20catch,=20Spokje:=20Update=20tabbable=20deprecatio?=
 =?UTF-8?q?n=20messages=20to=2011.x?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 core/misc/jquery.tabbable.shim.es6.js                  | 2 +-
 core/misc/jquery.tabbable.shim.js                      | 2 +-
 core/tests/Drupal/Nightwatch/Tests/tabbableShimTest.js | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/core/misc/jquery.tabbable.shim.es6.js b/core/misc/jquery.tabbable.shim.es6.js
index de8d043e7423..6820cd1b1ff7 100644
--- a/core/misc/jquery.tabbable.shim.es6.js
+++ b/core/misc/jquery.tabbable.shim.es6.js
@@ -8,7 +8,7 @@
     tabbable(element) {
       Drupal.deprecationError({
         message:
-          'The :tabbable selector is deprecated in Drupal 9.2.0 and will be removed in Drupal 10.0.0. Use the core/tabbable library instead. See https://www.drupal.org/node/3183730',
+          'The :tabbable selector is deprecated in Drupal 9.2.0 and will be removed in Drupal 11.0.0. Use the core/tabbable library instead. See https://www.drupal.org/node/3183730',
       });
 
       // The tabbable library considers the summary element tabbable, and also
diff --git a/core/misc/jquery.tabbable.shim.js b/core/misc/jquery.tabbable.shim.js
index c5c9fcbf447c..bd4174214c2e 100644
--- a/core/misc/jquery.tabbable.shim.js
+++ b/core/misc/jquery.tabbable.shim.js
@@ -12,7 +12,7 @@
   $.extend($.expr[':'], {
     tabbable(element) {
       Drupal.deprecationError({
-        message: 'The :tabbable selector is deprecated in Drupal 9.2.0 and will be removed in Drupal 10.0.0. Use the core/tabbable library instead. See https://www.drupal.org/node/3183730'
+        message: 'The :tabbable selector is deprecated in Drupal 9.2.0 and will be removed in Drupal 11.0.0. Use the core/tabbable library instead. See https://www.drupal.org/node/3183730'
       });
 
       if (element.tagName === 'SUMMARY' || element.tagName === 'DETAILS') {
diff --git a/core/tests/Drupal/Nightwatch/Tests/tabbableShimTest.js b/core/tests/Drupal/Nightwatch/Tests/tabbableShimTest.js
index cbcd97aa5a4c..02146df2f567 100644
--- a/core/tests/Drupal/Nightwatch/Tests/tabbableShimTest.js
+++ b/core/tests/Drupal/Nightwatch/Tests/tabbableShimTest.js
@@ -305,7 +305,7 @@ module.exports = {
       );
     });
     browser.assert.deprecationErrorExists(
-      'The :tabbable selector is deprecated in Drupal 9.2.0 and will be removed in Drupal 10.0.0. Use the core/tabbable library instead. See https://www.drupal.org/node/3183730',
+      'The :tabbable selector is deprecated in Drupal 9.2.0 and will be removed in Drupal 11.0.0. Use the core/tabbable library instead. See https://www.drupal.org/node/3183730',
     );
     browser.drupalLogAndEnd({ onlyOnError: false });
   },
@@ -338,7 +338,7 @@ module.exports = {
       );
     });
     browser.assert.deprecationErrorExists(
-      'The :tabbable selector is deprecated in Drupal 9.2.0 and will be removed in Drupal 10.0.0. Use the core/tabbable library instead. See https://www.drupal.org/node/3183730',
+      'The :tabbable selector is deprecated in Drupal 9.2.0 and will be removed in Drupal 11.0.0. Use the core/tabbable library instead. See https://www.drupal.org/node/3183730',
     );
     browser.drupalLogAndEnd({ onlyOnError: false });
   },
-- 
GitLab