Opened 4 years ago
Closed 4 months ago
#43202 closed defect (bug) (fixed)
Attachment Details: with cursor in URL box, left/right arrows switch between attachments
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.0 | Priority: | normal |
Severity: | normal | Version: | 4.9.2 |
Component: | Media | Keywords: | has-patch commit |
Focuses: | ui, accessibility, javascript | Cc: |
Description
This is related to issue #29725 (https://core.trac.wordpress.org/ticket/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.
Attachments (1)
Change History (7)
#1
@
3 years ago
- Focuses ui accessibility javascript added
- Keywords attachment media arrow keys navigation removed
- Milestone changed from Awaiting Review to Future Release
#3
@
6 months ago
- Milestone changed from Future Release to 6.0
- Owner set to joedolson
- Status changed from new to accepted
#4
@
4 months ago
- Keywords has-patch added
43202.diff prevents left/right arrow keys navigation from happening when readonly
inputs are focused. To test:
- apply the patch and build
- repeat the steps from comment:1
- observe navigation through the attachments doesn't happen
I can confirm that this is still a bug in trunk during the 5.2 beta cycle.
Steps to reproduce:
/wp-admin/upload.php?mode=grid