Make WordPress Core

Opened 4 years ago

Last modified 3 weeks ago

#43202 accepted defect (bug)

Attachment Details: with cursor in URL box, left/right arrows switch between attachments

Reported by: jrivett Owned by: joedolson
Milestone: 6.0 Priority: normal
Severity: normal Version: 4.9.2
Component: Media Keywords:
Focuses: ui, accessibility, javascript Cc:


This is related to issue #29725 ( The changes made to resolve #29725 work for text boxes that can be edited, but the URL box is read-only, and because of that, the fix has no effect.

On the Attachment Details screen, an attachment's URL is only shown in the URL box. But typically, most of the URL is not shown, since it's longer than the box size. To see the end of the URL, I can use the End key, but that leaves the middle of the URL, which for many URLs I can only see if I can move the cursor with the left/right arrow keys.

You could make the URL box completely inaccessible (disable the cursor completely), but then the box would be essentially useless as a source of information. That seems to leave only one remaining choice, which is to disable attachment navigation using the left/right arrow keys when the cursor is in the URL box.

Change History (3)

#1 @joemcgill
3 years ago

  • Focuses ui accessibility javascript added
  • Keywords attachment media arrow keys navigation removed
  • Milestone changed from Awaiting Review to Future Release

I can confirm that this is still a bug in trunk during the 5.2 beta cycle.

Steps to reproduce:

  1. Visit: /wp-admin/upload.php?mode=grid
  2. Click on a thumbnail to open the attachment details
  3. Place your cursor on the URL field
  4. Press the left or right keyboard arrow
  5. Observe that the active media item changes

#3 @joedolson
3 weeks ago

  • Milestone changed from Future Release to 6.0
  • Owner set to joedolson
  • Status changed from new to accepted
Note: See TracTickets for help on using tickets.