From a78d6089e13ada5ac2e447d7f1180d560546d10f Mon Sep 17 00:00:00 2001 From: lightbulbman Date: Sat, 5 Sep 2026 00:59:08 +0100 Subject: [PATCH 1/2] fix: quote the php binary path when linting generated flat files --- .../unit/Flat_Files/Handlers/Functions_Snippet_Handler_Test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/Flat_Files/Handlers/Functions_Snippet_Handler_Test.php b/tests/unit/Flat_Files/Handlers/Functions_Snippet_Handler_Test.php index b10e58b23..fba0b1916 100644 --- a/tests/unit/Flat_Files/Handlers/Functions_Snippet_Handler_Test.php +++ b/tests/unit/Flat_Files/Handlers/Functions_Snippet_Handler_Test.php @@ -52,7 +52,7 @@ private function assert_valid_php( string $wrapped ): void { $output = []; $status = 0; // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.system_calls_exec -- A subprocess is the only way to detect a compile error without killing the test run. - exec( escapeshellcmd( PHP_BINARY ) . ' -l ' . escapeshellarg( $file ) . ' 2>&1', $output, $status ); + exec( escapeshellarg( PHP_BINARY ) . ' -l ' . escapeshellarg( $file ) . ' 2>&1', $output, $status ); // phpcs:ignore WordPress.WP.AlternativeFunctions.unlink_unlink -- Removing a temp file created by this test. unlink( $file ); From f4d646d20867a269fa679e640534b05ee967362f Mon Sep 17 00:00:00 2001 From: lightbulbman Date: Sat, 5 Sep 2026 00:59:12 +0100 Subject: [PATCH 2/2] fix: raise the blueprint form focus contrast to meet wcag aa --- src/css/manage/blueprints/_form-layout.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/css/manage/blueprints/_form-layout.scss b/src/css/manage/blueprints/_form-layout.scss index c23efe54f..022b25d32 100644 --- a/src/css/manage/blueprints/_form-layout.scss +++ b/src/css/manage/blueprints/_form-layout.scss @@ -51,7 +51,10 @@ $border-color: #c3c4c7; &:hover, &:focus-visible { background: var(--cs-color-accent-subtle); - color: var(--cs-color-accent); + + // The lighter accent reaches only 3.8:1 on this background; the + // hover shade clears AA for normal text. + color: var(--cs-color-accent-hover); outline: none; }