Make WordPress Core

#63602 closed defect (bug) (duplicate)

The edit button on media upload not showing outline on right side of button on focus or button click

Reported by: umeshnevase's profile umesh.nevase Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Media Keywords: has-patch has-screenshots has-test-info
Focuses: ui, accessibility Cc:

Description

Steps to replicate the issue:

  • Go to Media updload.wp-admin/media-new.php
  • Upload media by selecting the button or Drag & drop media to the select media.
  • After the upload is finished, the media item will appear beneath the upload section.
  • Click on Edit button on new uploaded media item.
  • The edit button's left border/outline does not appear when you focus on it or click on it. Also the top and bottom is showing space for outline

Attachments (3)

Screenshot 2025-06-20 at 1.41.58 PM.png (227.1 KB) - added by umesh.nevase 10 months ago.
before fix - focus outline is partially visible.jpg (187.3 KB) - added by krupajnanda 10 months ago.
Before fix
after fix focus outline is fully visible.jpg (183.6 KB) - added by krupajnanda 10 months ago.
after fix

Download all attachments as: .zip

Change History (6)

This ticket was mentioned in PR #9027 on WordPress/wordpress-develop by @umesh.nevase.


10 months ago
#1

This PR fix the CSS for left outline for the Edit link for media item.
I've also removed extra spacing at bottom between attachment-tools container and media item container bottom.

Trac ticket: [](https://core.trac.wordpress.org/attachment/ticket/63602/)

https://github.com/user-attachments/assets/452cceeb-07d6-4277-aa1c-038c5bf171d4

#2 @krupajnanda
10 months ago

  • Keywords needs-testing has-test-info added

Test Report

Description

This report validates whether the indicated patch works as expected.

PR tested: https://github.com/WordPress/wordpress-develop/pull/9027

Environment

  • WordPress: 6.8.1
  • PHP: 8.2.15
  • Server: nginx/1.25.3
  • Database: mysqli (Server: 10.5.29-MariaDB-ubu2004 / Client: mysqlnd 8.2.15)
  • Browser: Chrome 137.0.0.0
  • OS: macOS
  • Theme: Twenty Twenty-Five 1.2
  • MU Plugins: None activated
  • Plugins:
    • Test Reports 1.2.0

Actual Results

  1. ✅ Issue resolved with given PR.

Supplemental Artifacts

Add as Attachment

#3 @sabernhardt
10 months ago

  • Keywords needs-testing removed
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

This is already reported on #63239. Please continue the discussion there.

Note: See TracTickets for help on using tickets.