Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#48618 closed defect (bug) (invalid)

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

Reported by: problemsolved's profile ProblemSolved Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Media Keywords:
Focuses: ui, accessibility Cc:

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
5 years ago

  • Focuses accessibility added

#2 @SergeyBiryukov
5 years ago

  • Version set to 5.3

#3 @afercia
5 years 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 5 years ago by afercia (previous) (diff)

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


5 years ago

Note: See TracTickets for help on using tickets.