From b2a5db39384bfdfaf62a69e73dd29f4601774f7c Mon Sep 17 00:00:00 2001 From: Kelly Choyce-Dwan Date: Fri, 21 Oct 2022 16:42:28 +0000 Subject: [PATCH] Help/About: Update the About header image. When used inline, the SVG needs the `aria-hidden`, `focusable`, and `viewBox` properties for accessibility. Additionally, this optimizes the SVG by using `cirlce` elements in place of `path`, and removing `clipPath`. There is no visible change, but the file is now one-third the size. Props sabernhardt. See #56703, #56357. git-svn-id: https://develop.svn.wordpress.org/trunk@54662 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/colors/_admin.scss | 2 +- src/wp-admin/images/about-header-about.svg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/css/colors/_admin.scss b/src/wp-admin/css/colors/_admin.scss index deed77fecd..e4c8c2fe6b 100644 --- a/src/wp-admin/css/colors/_admin.scss +++ b/src/wp-admin/css/colors/_admin.scss @@ -788,7 +788,7 @@ div#wp-responsive-toggle a:before { background-color: $dashboard-accent-1; } -.welcome-panel-header-image path { +.welcome-panel-header-image circle { stroke: $dashboard-accent-2; fill: $dashboard-accent-1; } diff --git a/src/wp-admin/images/about-header-about.svg b/src/wp-admin/images/about-header-about.svg index c146e8e657..ddc3091633 100644 --- a/src/wp-admin/images/about-header-about.svg +++ b/src/wp-admin/images/about-header-about.svg @@ -1 +1 @@ - +