diff options
author | catch <catch@35733.no-reply.drupal.org> | 2022-08-02 14:59:22 +0900 |
---|---|---|
committer | catch <catch@35733.no-reply.drupal.org> | 2022-08-02 14:59:22 +0900 |
commit | 69d084fce2071e30c30c21b38eabea88018b92f9 (patch) | |
tree | 8ba6bea6041e803175329046c49ad6c1d4c0a27c | |
parent | 86c4193fa5abebee2876a36e0440118f647df80f (diff) | |
download | drupal-69d084fce2071e30c30c21b38eabea88018b92f9.tar.gz drupal-69d084fce2071e30c30c21b38eabea88018b92f9.zip |
Issue #3296096 by Gábor Hojtsy, smustgrave, catch, Spokje: Update tabbable deprecation messages to 11.x
-rw-r--r-- | core/misc/jquery.tabbable.shim.es6.js | 2 | ||||
-rw-r--r-- | core/misc/jquery.tabbable.shim.js | 2 | ||||
-rw-r--r-- | 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 }); }, |