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 circle elements in place of path, and removing clipPath. There is no visible change, but the file is now one-third the size.

Props sabernhardt.
Reviewed by SergeyBiryukov, ryelle.
Merges [54662] to the 6.1 branch.
Fixes #56703. See #56357.



git-svn-id: https://develop.svn.wordpress.org/branches/6.1@54677 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Kelly Choyce-Dwan 2022-10-24 16:28:39 +00:00
parent afd636466c
commit 9213442fdc
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB