From 4252abf552754e43d32775bea1bb6fc201eb2be3 Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Tue, 24 Sep 2024 12:24:19 +0200 Subject: [PATCH] Remove interactivity router screen reader test --- .../wpInteractivityAPI-wp-router-region.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/phpunit/tests/interactivity-api/wpInteractivityAPI-wp-router-region.php b/tests/phpunit/tests/interactivity-api/wpInteractivityAPI-wp-router-region.php index 8d8cdb6228d2e..d6deab48ab141 100644 --- a/tests/phpunit/tests/interactivity-api/wpInteractivityAPI-wp-router-region.php +++ b/tests/phpunit/tests/interactivity-api/wpInteractivityAPI-wp-router-region.php @@ -102,7 +102,7 @@ public function test_wp_router_region_missing() { * * @covers ::process_directives */ - public function test_wp_router_region_adds_loading_bar_aria_live_region_only_once() { + public function test_wp_router_region_adds_loading_bar_region_only_once() { $html = '
Interactive region
Another interactive region
@@ -125,9 +125,5 @@ public function test_wp_router_region_adds_loading_bar_aria_live_region_only_onc $p = new WP_HTML_Tag_Processor( $footer ); $this->assertTrue( $p->next_tag( $query ) ); $this->assertFalse( $p->next_tag( $query ) ); - $query = array( 'class_name' => 'screen-reader-text' ); - $p = new WP_HTML_Tag_Processor( $footer ); - $this->assertTrue( $p->next_tag( $query ) ); - $this->assertFalse( $p->next_tag( $query ) ); } }