From 95971e18b13c178017dde638824da04d2b082f93 Mon Sep 17 00:00:00 2001 From: joedolson Date: Thu, 20 Jun 2024 20:27:11 +0000 Subject: [PATCH] Editor: A11y: Set ARIA attributes for Classic Editor link inserter. Set `aria-modal` and `aria-hidden` attributes when the Classic Editor link inserter modal is active, so that content behind the modal will be properly treated as inert when interacting with the modal. Props lyonmuller, jwgoedert, sabernhardt, alexstine, afercia, rajinsharwar, rcreators, audrasjb, hmbashar, joedolson. Fixes #60799. Built from https://develop.svn.wordpress.org/trunk@58450 git-svn-id: http://core.svn.wordpress.org/trunk@57899 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-editor.php | 2 +- wp-includes/js/wplink.js | 2 ++ wp-includes/js/wplink.min.js | 2 +- wp-includes/version.php | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/wp-includes/class-wp-editor.php b/wp-includes/class-wp-editor.php index 5d7ba224cc..7a7c8c2350 100644 --- a/wp-includes/class-wp-editor.php +++ b/wp-includes/class-wp-editor.php @@ -1875,7 +1875,7 @@ final class _WP_Editors { // `display: none` is required here, see #WP27605. ?> -