Commit Graph

3773 Commits

Author SHA1 Message Date
joedolson
f24f5f8711 Admin: Reskin - fix empty dashboard widget alignment.
Fix alignment of the empty dashboard widget placeholders to match the alignment of populated dashboard widget regions.

Props fabiankaegy, shailu25, r1k0, noruzzaman, mirmpro, tusharaddweb, joedolson.
Fixes #64743.
Built from https://develop.svn.wordpress.org/trunk@61785


git-svn-id: http://core.svn.wordpress.org/trunk@61091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-02 23:59:45 +00:00
joedolson
57d8ba3332 Admin: Reskin - update dismiss icons sizing.
Update the sizing of icons in the welcome panel, bulk edit, quick edit, and admin notifications to use relative sizing, fixing alignment issues.

Update focus state for bulk edit remove buttons.

Props mohitbsf, opurockey, sabernhardt, huzaifaalmesbah, madhavishah01, r1k0, ozgursar, noruzzaman, shailu25, joedolson, mukesh27.
Fixes #64684.
Built from https://develop.svn.wordpress.org/trunk@61784


git-svn-id: http://core.svn.wordpress.org/trunk@61090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-02 19:52:21 +00:00
audrasjb
536d107250 Customize: Make the "View All Locations" link consistent with the new admin styles.
This changeset ensures the "View All Locations" link in the Customizer is consistent with the new admin styles.

Props huzaifaalmesbah, hmbashar, noruzzaman, audrasjb, mukesh27, shailu25.
Fixes #64758.


Built from https://develop.svn.wordpress.org/trunk@61782


git-svn-id: http://core.svn.wordpress.org/trunk@61088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-02 14:09:45 +00:00
joedolson
abdf1dfea1 Admin: Reskin - update active plugin colors.
Update the background and border colors to new admin color scheme on active plugin highlighting.

Props fabiankaegy, r1k0, shailu25, noruzzaman, rahultank, joedolson.
Fixes #64745.
Built from https://develop.svn.wordpress.org/trunk@61780


git-svn-id: http://core.svn.wordpress.org/trunk@61086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-02 00:35:44 +00:00
joedolson
22b8dc66bc Admin: Update focus state on color picker.
Fix the focus color on the Iris color picker slider and color base selectors to the new admin color scheme.

Props shailu25, hmbashar, huzaifaalmesbah, noruzzaman, rahultank, joedolson.
Fixes #64754.
Built from https://develop.svn.wordpress.org/trunk@61779


git-svn-id: http://core.svn.wordpress.org/trunk@61085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-02 00:15:48 +00:00
joedolson
0345ce64d2 Administration: Consistent styling for site icon setting.
In General Settings, set the `remove-site-icon` class in initial state and add border for clearer control boundaries.

Props sabernhardt, noruzzaman, madhavishah01, huzaifaalmesbah, hmbashar, shailu25, joedolson.
Fixes #64736.
Built from https://develop.svn.wordpress.org/trunk@61770


git-svn-id: http://core.svn.wordpress.org/trunk@61076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-27 23:43:41 +00:00
joedolson
aaa00322d7 Admin: A11y: Update separator colors.
Update the base color for text in row actions, dashboard widget footers, and similar contexts to meet WCAG color standards.

Props bobbingwide, joedolson.
Fixes #64313.
Built from https://develop.svn.wordpress.org/trunk@61763


git-svn-id: http://core.svn.wordpress.org/trunk@61069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-27 22:19:42 +00:00
joedolson
a0b91785e2 Admin: Update admin colors on Privacy Policy screen.
Update the color used for the active privacy policy tab and focused privacy disclosure accordion title.

Props wildworks, hbhalodia, huzaifaalmesbah, noruzzaman, joedolson.
Fixes #64747.
Built from https://develop.svn.wordpress.org/trunk@61762


git-svn-id: http://core.svn.wordpress.org/trunk@61068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-27 21:00:43 +00:00
joedolson
d7483f0314 Admin: Fix alignment of community events search inputs.
Following the admin reskin, community events inputs were misaligned.

Change to `flex` layout to fix alignment and improve handling for translated strings.

Props huzaifaalmesbah, hmbashar, mirmpro, shailu25, joedolson.
Fixes #64753.
Built from https://develop.svn.wordpress.org/trunk@61761


git-svn-id: http://core.svn.wordpress.org/trunk@61067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-27 20:47:44 +00:00
joedolson
7fd6f0b189 Admin: Fix alignment of dashboard widgets and welcome panel.
Adjust padding and margins of dashboard widgets to properly align with the content width, matching the Welcome Panel.

Props marc4, hbhalodia, noruzzaman, soyebsalar01, joedolson.
Fixes #64739.
Built from https://develop.svn.wordpress.org/trunk@61759


git-svn-id: http://core.svn.wordpress.org/trunk@61065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-27 19:39:43 +00:00
joedolson
ac62a6cb92 Admin: Match welcome panel to other dashboard widgets.
Set the Welcome Panel to have the same border color as the other dashboard widgets following the admin reskin.

Props marc4, fabiankaegy, joedolson.
Fixes #64741.
Built from https://develop.svn.wordpress.org/trunk@61758


git-svn-id: http://core.svn.wordpress.org/trunk@61064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-27 19:30:46 +00:00
joedolson
73d20acd0b Media: Make filters & image selection usable by voice control.
Add a visible label with the `aria-label` value for image selection to enable voice control users to select images. Add visible labels on filters to improve access to media filters.

Props grahamarmfield, tomauger, afercia, rianrietveld, antpb, audrasjb, SirLouen, ozgursar, poojapadamad, mukesh27, alh0319, joedolson.
Fixes #23562.
Built from https://develop.svn.wordpress.org/trunk@61757


git-svn-id: http://core.svn.wordpress.org/trunk@61063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-27 19:15:49 +00:00
joedolson
2d3a62ffd3 Editor: (Classic) Fix "skip to editor" link CSS.
Fix the height, background, and positioning of the skip to editor link in the classic editor, to prevent overflow and override transparent background.

Props sabernhardt, huzaifaalmesbah, joedolson.
Fixes #64727.
Built from https://develop.svn.wordpress.org/trunk@61742


git-svn-id: http://core.svn.wordpress.org/trunk@61048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-25 23:46:40 +00:00
joedolson
2797bb3b97 Administration: Fix plugin and theme installer buttons.
Plugin and theme installer buttons load a dashicon during their updating and updated states. These dashicons were sized to large buttons, and caused a shift in alignment after the switch to compact buttons.

Update CSS to prevent shifts in size and alignment for installer buttons.

Props mohitbsf, peterwilsoncc, adnanhyder, huzaifaalmesbah, noruzzaman, ravichudasama01, shailu25, r1k0, joedolson.
Fixes #64687.
Built from https://develop.svn.wordpress.org/trunk@61741


git-svn-id: http://core.svn.wordpress.org/trunk@61047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-25 23:36:42 +00:00
joedolson
5a6cdcbc07 Admin: Set info notices to use white background.
The admin reskin changed info notices to a transparent background, matching usage in Gutenberg. But with the gray background in the core admin, these notices didn't show up in an expected manner. Additionally, using a transparent background in a context where the background color is variable is risky for color contrast.

Change `.notice-info`, `.notice-info.notice-alt`, and `.login .notice, .login .message` to use white backgrounds. Reverts changes from [61731] to apply styles also to `.message` class.

Props mohitbsf, audrasjb, peterwilsoncc, pbiron, fabiankaegy, noruzzaman, joedolson.
Fixes #64678. See #64715.
Built from https://develop.svn.wordpress.org/trunk@61737


git-svn-id: http://core.svn.wordpress.org/trunk@61043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-25 19:30:31 +00:00
audrasjb
bece250ff2 Administration: Fix inconsistent vertical spacing in “At a Glance” widget.
This changeset standardizes the vertical spacing between the heading and the first content item in the “At a Glance” admin dashboard widget to match the spacing conventions used by other dashboard widgets.

Props mohitbsf, opurockey, adnanhyder.
Fixes #64682.


Built from https://develop.svn.wordpress.org/trunk@61732


git-svn-id: http://core.svn.wordpress.org/trunk@61039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-25 07:03:37 +00:00
audrasjb
05caa4c07b Login and Registration: Add white background to register screen notices.
This changeset backports the changes made to common notices to `login.css`.

Props juanfra, huzaifaalmesbah, shailu25, joedolson.
Fixes #64715.


Built from https://develop.svn.wordpress.org/trunk@61731


git-svn-id: http://core.svn.wordpress.org/trunk@61038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-25 06:56:36 +00:00
joedolson
45a608f607 Customizer: Fix Copy button alignment in Share Preview.
Following the admin reskin, the Copy link button for sharing customizer previews was misaligned.

Override core button disabled styles to set transform and background properties. Fix shadow height.

Props mohitbsf, audrasjb, hbhalodia, huzaifaalmesbah, sajib1223, joedolson.
Fixes #64688.
Built from https://develop.svn.wordpress.org/trunk@61730


git-svn-id: http://core.svn.wordpress.org/trunk@61037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-24 23:19:41 +00:00
joedolson
09b8e12b1f Admin: Switch plugin card buttons to compact size.
Following the admin reskin, the larger buttons in plugin cards caused an existing potential for text overlap to happen more easily. Switching to compact size restores prior behavior.

Props hiroshisato, audrasjb, huzaifaalmesbah, shailu25, joedolson.
Fixes #64686.
Built from https://develop.svn.wordpress.org/trunk@61729


git-svn-id: http://core.svn.wordpress.org/trunk@61036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-24 22:54:39 +00:00
joedolson
1802bd631a Admin: Fix dismiss button alignment in Welcome panel.
Fix the icon alignment in the welcome panel close button following the admin reskin.

Props mohitbsf, opurockey, huzaifaalmesbah, joedolson.
Fixes #64681.
Built from https://develop.svn.wordpress.org/trunk@61728


git-svn-id: http://core.svn.wordpress.org/trunk@61035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-24 22:47:36 +00:00
joedolson
5444cf51c7 Admin: Miscellaneous reskin color and alignment fixes.
Fix a few miscellaneous colors and alignment shifts missed in previous updates. Apply the new admin link and button colors on missed cases in the customizer, classic widgets, skip links, help and screen options, and admin nav menus. 

Props joedolson, fabiankaegy.
Fixes #64652.
Built from https://develop.svn.wordpress.org/trunk@61682


git-svn-id: http://core.svn.wordpress.org/trunk@60990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-18 22:03:43 +00:00
joedolson
b9dd8f612b Admin: Apply scheme styles in non-admin admin screens.
Adds the admin-scheme styles as a dependency for the login and install styles. This is to ensure the CSS variables are available to the login, installation, database repair and upgrade screens.

Modifies the display of notices in the login styles to match those in the new default scheme, "modern".

Props peterwilsoncc, wildworks, westonruter, mukesh27, fabiankaegy, audrasjb, huzaifaalmesbah, sabernhardt, presskopp, SirLouen, ellatrix, nendeb55, neo2k23, jsmansart, joedolson.
Fixes #64640, #64548. See #64308.
Built from https://develop.svn.wordpress.org/trunk@61681


git-svn-id: http://core.svn.wordpress.org/trunk@60989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-18 21:14:48 +00:00
joedolson
9c13eca1c3 Admin: Update focus styles to match design reskin.
Apply design reskin changes to focus states on links, classic editor, media library, and other omitted contexts.

See also [61645].

Props joedolson, fabiankaegy.
Fixes #64644.
Built from https://develop.svn.wordpress.org/trunk@61652


git-svn-id: http://core.svn.wordpress.org/trunk@60963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-16 17:24:42 +00:00
joedolson
b88c13e108 Users: Set username, email, and password fields to ltr.
Usernames, email, and password fields are currently `rtl` in `rtl` locales. However, these fields are primarily standardized to `ltr` character sets and for better experience and readability, should be presented left-to-right in all locales.

Fix username, email, and password fields throughout install and admin to be set to `ltr` text direction.

Props man4toman, sabernhardt, ierwira, agnieszkaszuba, SergeyBiryukov, joyously, hellofromTonya, shibleemehdi, oglekler, audrasjb, sajjad67, huzaifaalmesbah, joedolson.
Fixes #54915.
Built from https://develop.svn.wordpress.org/trunk@61651


git-svn-id: http://core.svn.wordpress.org/trunk@60962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-16 17:02:47 +00:00
fabiankaegy
00a46b6006 Admin: Update notice styles to align with the design system.
Remove the full border and box-shadow from notices, keeping only the 4px left border. Add semantic background colors to each notice type: green for success, yellow for warnings, red for errors, and transparent for info. Update border colors to match the design system tokens.

Restyle the dismiss button with a larger 24px icon, flexbox centering, and 2px border-radius. Replace the red hover color with a subtle opacity change and apply a theme-color focus ring. Increase dismissible notice right padding to accommodate the larger button.

Update notice text with consistent typography and restyle notice links to use theme color custom properties with matching focus rings.

Props fabiankaegy, mukesh27, joedolson, phpbits, sabernhardt, Joen, fcoveram, dkotter, navi161, poojapadamad.
Fixes #64548.


Built from https://develop.svn.wordpress.org/trunk@61647


git-svn-id: http://core.svn.wordpress.org/trunk@60958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-15 08:24:37 +00:00
fabiankaegy
d4c1af9ecb Admin: Update card and container styles to align with the design system.
Apply 8px border-radius and a consistent `rgb(0, 0, 0, 0.1)` border to cards, postboxes, plugin cards, and theme cards. Standardize internal padding to 16px for postbox content and headers.

Update drag-and-drop interactions: replace dashed gray outlines on sortable drop zones with theme-color-tinted backgrounds, and restyle sortable placeholders with a solid theme-color border and subtle background fill.

Adjust dashboard widget spacing, welcome panel padding, and empty-container drop zone styles. Add overflow hidden to plugin and theme cards to clip content to the new rounded corners.

Props fabiankaegy, mukesh27, joedolson, navi161, phpbits, karmatosed, sabernhardt, poojapadamad, psorensen, generosus.
Fixes #64549.


Built from https://develop.svn.wordpress.org/trunk@61646


git-svn-id: http://core.svn.wordpress.org/trunk@60957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-15 08:18:36 +00:00
fabiankaegy
cc0fed3547 Admin: Update button and form field styles to align with the design system.
Introduce a design system tokens file (`_tokens.scss`) based on the WordPress Design System, providing standardized values for colors, spacing, typography, border-radius, and elevation.

Update buttons to use CSS custom properties for theme color support across all admin color schemes. Restyle primary buttons with filled theme-color backgrounds, secondary buttons with outlined borders, and add a tertiary button mixin. Adopt Gutenberg-style focus rings with outset box-shadows and transparent outlines for Windows High Contrast mode compatibility.

Increase default input and select height from 30px to 40px, apply 2px border-radius, and update border and placeholder colors to match the design system. Restyle checkboxes and radios with filled theme-color checked states and white indicator marks, using outset double-ring focus styles consistent with Gutenberg.

Apply compact 32px sizing to list table controls, page-title-action buttons, and toolbar elements. Convert tag input layouts and the major-publishing-actions bar to flexbox.

Props fabiankaegy, joedolson, audrasjb, joen, phpbits, magaliechetrit, karmatosed.
Fixes #64547.


Built from https://develop.svn.wordpress.org/trunk@61645


git-svn-id: http://core.svn.wordpress.org/trunk@60956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-15 08:10:37 +00:00
joedolson
e42b68c0b4 A11y: Update .screen-reader-text class with word-break.
`word-break: normal !important;` was added to Twenty Twenty in [46701], but the change missed getting propagated to all uses of the screen-reader-text class at that time. 

Add `word-break` reset to `.screen-reader-text` to ensure screen readers won't read text as individual letters in hidden text.

Props peterwilsoncc, manhphucofficial, palak678, sabernhardt, mukesh27, joedolson.
Fixes #64375.
Built from https://develop.svn.wordpress.org/trunk@61636


git-svn-id: http://core.svn.wordpress.org/trunk@60947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-13 17:12:44 +00:00
joedolson
ab426a95b2 Plugins/Themes: Increase size of drop region for uploads.
The native drop area surface is the `input[type="file"]` element, which is quite small on plugin and theme upload screens. A larger drop area makes it easier for users to successfully drag their file over the region.

Modify the CSS so that the file input occupies the full visual space.

Props ibrahimriaz, ronya4927, huzaifaalmesbah, noruzzaman, r1k0, nikunj8866, joedolson.
Fixes #64065.
Built from https://develop.svn.wordpress.org/trunk@61598


git-svn-id: http://core.svn.wordpress.org/trunk@60909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-08 01:11:45 +00:00
joedolson
b3fdc0d96e Media: Add external icon to alt text links.
This link opens in a new tab, and needs a visual indicator to provide an affordance to sighted users that this will happen.

Props burtrw, sabernhardt, audrasjb, westonruter, joedolson.
Fixes #64374.
Built from https://develop.svn.wordpress.org/trunk@61597


git-svn-id: http://core.svn.wordpress.org/trunk@60908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-07 23:53:44 +00:00
joedolson
6737291dca A11y: Use pointer cursor on webkit field cancellation buttons.
Webkit-based browsers add a cancel button to search inputs. This input uses the default cursor standard to buttons and inputs, but the WordPress admin applies the `pointer` cursor to buttons and inputs. Apply the WordPress standard pointer to this pseudoelement for UI consistency.

Props sumitsingh, manhphucofficial, joedolson, sabernhardt, dhruvang21.
Fixes #64382.
Built from https://develop.svn.wordpress.org/trunk@61514


git-svn-id: http://core.svn.wordpress.org/trunk@60825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-01-23 02:54:35 +00:00
joedolson
49ea53a048 A11y: Fix color contrast on added menu items in Customizer
Changes the color on items added to menus in the Customizer from `#8c8f94` (a contrast ratio of 3.24:1) to `#646970` (a contrast ratio of 5.53:1). 

Props joedolson, sabernhardt, wilcosky, showravhasan, emptyopssphere, ozgursar.
Fixes #64013.
Built from https://develop.svn.wordpress.org/trunk@61511


git-svn-id: http://core.svn.wordpress.org/trunk@60822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-01-22 22:33:34 +00:00
Weston Ruter
612813b181 Administration: Ensure View Transitions only apply when reduced motion is not preferred.
Developed in https://github.com/WordPress/wordpress-develop/pull/10762

Follow-up to [61491].

Props mukesh27, wildworks, solankisoftware, westonruter.
See #64470.
Fixes #64529.

Built from https://develop.svn.wordpress.org/trunk@61502


git-svn-id: http://core.svn.wordpress.org/trunk@60813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-01-20 18:23:33 +00:00
Felix Arntz
920844023c Administration: Add view transitions throughout WP Admin.
This changeset enables smooth transitions between the different admin screens. For the admin menu items, distinct view transition names are used to facilitate a simple visual slide effect when the active submenu changes between screens.

Props westonruter, mukesh27, joedolson.
Fixes #64470.

Built from https://develop.svn.wordpress.org/trunk@61491


git-svn-id: http://core.svn.wordpress.org/trunk@60802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-01-19 16:58:45 +00:00
Peter Wilson
a978fc5de1 General: Use legacy content properties for CSS icons.
In modern browsers the CSS `content` property provides alt text support for assistive technology in the form `display / alt text`. This introduces support for legacy browsers that do not support the new syntax.

CSS content properties take advantage of the CSS cascade and browsers ignoring values they don't understand by adding duplicate `content` properties in the form:

{{{#!css
content: display;
content: display / alt text;
}}}

Modern browsers will use the second property, legacy browsers will use the first.

Follow-up to [60885] for #63603.

Props acmoifr, joedolson, jorbin, mydesign78, ov3rfly, peterwilsoncc, presskopp, sabernhardt, siliconforks, swissspidy, threadi, wildworks, wolf45.
Fixes #64350.

Built from https://develop.svn.wordpress.org/trunk@61480


git-svn-id: http://core.svn.wordpress.org/trunk@60792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-01-13 22:09:49 +00:00
ryelle
b30d5b291b Help/About: Update About page header images and performance content.
This adds the correct string for performance changes, updates the header images to not have rounded corners, and updates the release badge to use the stylized 6.9 icon.

Props ryelle, peterwilsoncc, westonruter.
See #63941.


Built from https://develop.svn.wordpress.org/trunk@61257


git-svn-id: http://core.svn.wordpress.org/trunk@60569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-18 01:27:35 +00:00
ryelle
3bd214e775 Help/About: Update the About page for 6.9.
Introducing the new content for the 6.9 About page. This release also introduce new header images across the About section.

See #63941.
Props desrosj, jeffpaul, 4thhubbard, priethor, annezazu, fcoveram, joedolson, ryelle, peterwilsoncc.


Built from https://develop.svn.wordpress.org/trunk@61204


git-svn-id: http://core.svn.wordpress.org/trunk@60540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-11 03:49:31 +00:00
joedolson
8f1d8bf369 Login and Registration: Add Caps Lock notice to password input.
Add a notification when typing passwords on the user registration, user login, and user profile screens that notifies the user if they are typing with caps lock enabled.

This can help reduce user friction when logging in, prevent user error when creating passwords, and reduce the need for a user to use the show password button.

Props dartiss, swissspidy, johnbillion, nikunj8866, pmbaldha, mosescursor, sirlouen, westonruter, praful2111, devsabbirahmed, kawsar007, najmulsaju, yashyadav247, sajjad67, joedolson.
Fixes #48345.
Built from https://develop.svn.wordpress.org/trunk@60988


git-svn-id: http://core.svn.wordpress.org/trunk@60324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-10-20 19:49:32 +00:00
joedolson
c49fc7a9eb General: Improve search input alignment on mobile.
Remove an end margin misalignment on the search input for posts, comments, themes, and plugins. 

Props ronak44, sourav08, dilipbheda, SirLouen, nikunj8866, darshitrajyaguru97, rollybueno, shailu25, sabernhardt, joedolson.
Fixes #63310.
Built from https://develop.svn.wordpress.org/trunk@60975


git-svn-id: http://core.svn.wordpress.org/trunk@60311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-10-19 16:04:33 +00:00
joedolson
2f28cf4868 Privacy: A11y: Show time of privacy request status change.
Add the date and time of privacy request status changes in the privacy requests table. Previously, `human_time_diff()` was used in the first 24 hours, and only the date after 24 hours. Change the output to display both date and time after 24 hours, using the format used for comments.

Props birgire, desrosj, afercia, xkon, tz-media, garrett-eclipse, sirlouen, sukhendu2002, sajjad67, fakhriaz, joedolson.
Fixes #44267.
Built from https://develop.svn.wordpress.org/trunk@60891


git-svn-id: http://core.svn.wordpress.org/trunk@60227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-10-02 21:48:35 +00:00
joedolson
db567e7f82 General: A11y: Remove obsolete speak and aural CSS.
Remove instances of `speak: never` and `@media aural`, which are deprecated and/or non-standard CSS. These never had any broad browser support, but generated content alternatives do. See #40428.

Props krokodok, audrasjb, joedolson.
Fixes #63603.
Built from https://develop.svn.wordpress.org/trunk@60885


git-svn-id: http://core.svn.wordpress.org/trunk@60221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-09-30 23:51:27 +00:00
joedolson
69bb40f683 A11y: Ensure icons are not spoken by screen readers.
For all CSS generated icons across core, either add `aria-hidden="true"` to the HTML wrapper or set the generated content alternative to an empty string in the CSS using the  alternative text specification for CSS generated content.

Props afercia, joedolson, cheffheid, jhabdas.
Fixes #40428.
Built from https://develop.svn.wordpress.org/trunk@60806


git-svn-id: http://core.svn.wordpress.org/trunk@60142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-09-28 23:40:35 +00:00
joedolson
cb59d63c60 Administration: Remove unused CSS in forms.css.
Remove some CSS that doesn't appear to have ever been used. See [42967].

Props joedolson, peterwilsoncc, mukesh27.
Fixes #63907.
Built from https://develop.svn.wordpress.org/trunk@60710


git-svn-id: http://core.svn.wordpress.org/trunk@60046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-09-05 04:03:29 +00:00
joedolson
e30a48d6b0 Administration: Fix sizing of page header links on mobile.
Page title actions were modified to match the global button styles in #41986, but these styles were not applied to mobile viewports at the time. 

Fix padding, height, line-height, and alignment to match these links to global styles. 

Props joedolson, rollybueno, sumitbagthariya16, circlecube, shailu25.
Fixes #63831.
Built from https://develop.svn.wordpress.org/trunk@60705


git-svn-id: http://core.svn.wordpress.org/trunk@60041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-09-04 03:53:36 +00:00
Helen Hou-Sandí
3ffbc9770f Updates: Ensure theme screenshots are positioned correctly.
Underlying problem: the updates list tables inherit styles from classes named for plugins. This makes the intention much more explicit so we can actually maintain and make changes sanely going forward.

Fixes #63120.

Built from https://develop.svn.wordpress.org/trunk@60683


git-svn-id: http://core.svn.wordpress.org/trunk@60019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-08-27 15:15:30 +00:00
Helen Hou-Sandí
698f5c3589 Plugins: Ensure only plugin icons are floated.
There's no reason not to add a semantic class to the plugin icons on the update screen instead of making our CSS more complex, so let's do that and ensure that the existing `.plugin-icon` styles are scoped to `.plugin-card` on the install screen.

Partially reverts [60673].
Fixes #63120.


Built from https://develop.svn.wordpress.org/trunk@60680


git-svn-id: http://core.svn.wordpress.org/trunk@60016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-08-27 00:03:30 +00:00
whyisjake
9bc78e7a7a Plugins: Fix emoji positioning in plugin titles on plugins list table.
Prevents emojis in plugin titles from floating to the front of text when
WordPress uses emoji fallback rendering. When emoji feature detection fails,
WordPress replaces emoji characters with `<img>` elements that were incorrectly
affected by CSS float rules intended for plugin icons.

Updates CSS selectors to target specific icon types (dashicons, icon classes,
and data URI images) rather than all images, ensuring emoji images remain
inline with plugin title text while preserving proper layout for actual
plugin icons.

- Consolidates `.plugins .plugin-title img` and `.plugins .plugin-title .dashicons` rules
- Adds support for `img.dashicons`, `img[class*="icon"]`, and `img[src*="data:image"]` selectors
- Maintains 64px sizing and left float for legitimate plugin icons
- Fixes visual issue where "myplugin❤️wordpress" displayed as "❤️mypluginwordpress"

Props slimndap, ankitkumarshah, sandeepdahiya, sabernhardt, tomdevisser,
debarghyabanerjee, nusrat21, SirLouen, wpfy, hmbashar, klevismiho,
rollybueno, jamesgiroux, jorbin, whyisjake.

Fixes #63120.

Built from https://develop.svn.wordpress.org/trunk@60673


git-svn-id: http://core.svn.wordpress.org/trunk@60009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-08-26 21:35:26 +00:00
joedolson
304382e37d Accessibility: Make buttons to add site images look like buttons.
The buttons to add site icons, logos, header images, and background images were designed with a dashed border. This led to confusion with users thinking they were drop regions for image uploads, rather than buttons to trigger an upload.

Change design of upload buttons to clarify expected user interaction.

Props emaildano, afercia, joedolson, ankitkumarshah, logicrays, shailu25.
Fixes #47579.
Built from https://develop.svn.wordpress.org/trunk@60645


git-svn-id: http://core.svn.wordpress.org/trunk@59981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-08-18 20:27:37 +00:00
joedolson
6b2e46fdcd Media: Fix button sizing on Edit Media screen.
On the Edit Media screen, buttons were not all of consistent size. This was caused by custom sizing applied to CSS in the Edit Media panel that was not consistent with other button sizes.

Remove custom sizing and adds class so all Edit Media buttons will match styling of other admin buttons in desktop and mobile viewports.

Props hbhalodia, sabernhardt, sandeepdahiya, mikinc860, mukesh27, joedolson.
Fixes #63559.
Built from https://develop.svn.wordpress.org/trunk@60640


git-svn-id: http://core.svn.wordpress.org/trunk@59976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-08-15 18:16:32 +00:00
joedolson
214a011d89 Media: Fix button focus visibility in media uploads.
Following [r58279], the focus outline on the Edit button after uploading media was partially cut off. Adjust margin and padding to ensure the outline is visible, while also supporting appropriate word wrapping on long file names.

Props dilipbheda, karthikeya01, sabernhardt, narenin, zunaid321, Marius84, ankitkumarshah,  riddhidave, dilip2615, SirLouen, Presskopp, joedolson.
Fixes #63239.
Built from https://develop.svn.wordpress.org/trunk@60637


git-svn-id: http://core.svn.wordpress.org/trunk@59973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-08-14 23:08:34 +00:00