From 42af191ef1f31ada1c1055e66ef69768b9f44921 Mon Sep 17 00:00:00 2001 From: Khokan Sardar Date: Tue, 21 Apr 2026 12:59:18 +0530 Subject: [PATCH] Administration: Replace pure white body background on Font Library and Connectors pages. The `wp-admin` integrated wrappers for the Font Library (`font-library.php`) and the new Connectors page (`options-connectors.php`) set an inline `body { background: #fff; }`, which is against established accessibility and UX best practices ("Never use full white"), causes white-on-white content cards to blend into the page background, and is inconsistent with every other core admin screen. This replaces the pure white override with `#f0f0f1`, the standard `wp-admin` body background color defined in `wp-admin/css/common.css`. The change restores visual separation between the white `.components-item` cards and their surrounding chrome and aligns these pages with the rest of the core admin UI. Remaining accessibility items from the ticket (inappropriate `
` landmark and ARIA landmark nesting) live in the Gutenberg `@wordpress/admin-ui` Page component and will be picked up on the next Gutenberg package sync. Props joedolson, afercia, hbhalodia, wildworks. See #65100. Made-with: Cursor --- src/wp-includes/build/pages/font-library/page-wp-admin.php | 2 +- .../build/pages/options-connectors/page-wp-admin.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/build/pages/font-library/page-wp-admin.php b/src/wp-includes/build/pages/font-library/page-wp-admin.php index 4d41be02ae892..84f5e41fb6cd1 100644 --- a/src/wp-includes/build/pages/font-library/page-wp-admin.php +++ b/src/wp-includes/build/pages/font-library/page-wp-admin.php @@ -226,7 +226,7 @@ function wp_font_library_wp_admin_render_page() { overflow-y: auto; } body { - background: #fff; + background: #f0f0f1; } /* Reset wp-admin padding */ diff --git a/src/wp-includes/build/pages/options-connectors/page-wp-admin.php b/src/wp-includes/build/pages/options-connectors/page-wp-admin.php index 3f3048b8fb98b..fb32e50578aa9 100644 --- a/src/wp-includes/build/pages/options-connectors/page-wp-admin.php +++ b/src/wp-includes/build/pages/options-connectors/page-wp-admin.php @@ -226,7 +226,7 @@ function wp_options_connectors_wp_admin_render_page() { overflow-y: auto; } body { - background: #fff; + background: #f0f0f1; } /* Reset wp-admin padding */