Commit 42af191
committed
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 `<header>` 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: Cursor1 parent 67094ee commit 42af191
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
- src/wp-includes/build/pages
- font-library
- options-connectors
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
| 229 | + | |
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
| 229 | + | |
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| |||
0 commit comments