WordPress.org

Make WordPress Core

Opened 3 months ago

Closed 3 months ago

Last modified 2 months ago

#48618 closed defect (bug) (invalid)

Cursor Doesn't Default To HTTP Box In Insert From URL

Reported by: ProblemSolved Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Media Keywords:
Focuses: ui, accessibility Cc:
PR Number:

Description

In previous versions, when selecting 'Insert from URL' in the media adder, the cursor was automatically placed in the URL box, allowing you to simply paste the URL after clicking 'Insert from URL'. That's no longer the case in 5.3 and requires the additional click in the http:// box.

Change History (4)

#1 @SergeyBiryukov
3 months ago

  • Focuses accessibility added

#2 @SergeyBiryukov
3 months ago

  • Version set to 5.3

#3 @afercia
3 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
  • Version 5.3 deleted

@ProblemSolved thanks for your report and welcome to Trac!

This change is intentional and was implemented as part of #43169. Moving focus programmatically is often an assumption on a specific user flow that may or may not be the intended one. It's particularly unexpected for keyboard users and assistive technology users, as focus is moved without any prior warning and leads to a complete loss of context. As such, moving focus should generally be avoided and only implemented in very specific cases.
Also, considering that the media modal left menu is now an ARIA tab interface, moving focus would be even more unexpected. See [46363].

Last edited 3 months ago by afercia (previous) (diff)

This ticket was mentioned in Slack in #core-media by antpb. View the logs.


2 months ago

Note: See TracTickets for help on using tickets.