Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#28969 closed defect (bug) (duplicate)

Media Grid Modal, close button always focused

Reported by: michalzuber Owned by:
Priority: normal Milestone:
Component: Media Version: 4.0
Severity: normal Keywords: has-patch dev-feedback
Cc: Focuses: ui, javascript

Description

The close button of the modal is always focused.
Clicking next or previous arrows the focus always "jumps" to the close.
https://youtu.be/g4IlcensaIQ

Attachments (1)

28969.diff (474 bytes ) - added by adamsilverstein 12 years ago.
prevent close from always gaining focus

Download all attachments as: .zip

Change History (4)

@adamsilverstein
12 years ago

prevent close from always gaining focus

#1 @adamsilverstein
12 years ago

  • Keywords has-patch dev-feedback added

28969.diff use JS to blur focus off close button after opening modal. Tried several approaches, still unclear why close is getting focus, this does prevent it.

#2 follow-up: @helen
12 years ago

  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed

Duplicate of #23560.

Purposeful, already noted for further refinement on the original ticket.

#3 in reply to: ↑ 2 @adamsilverstein
12 years ago

Thanks, missed that!

Replying to helen:

Duplicate of #23560.

Purposeful, already noted for further refinement on the original ticket.

Note: See TracTickets for help on using tickets.