Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#32686 closed defect (bug) (worksforme)

Customizer Menus: Accessibility: create new menu, focus goes to the preview area in Firefox

Reported by: designsimply's profile designsimply Owned by: valendesigns's profile valendesigns
Milestone: Priority: normal
Severity: normal Version: 4.3
Component: Customize Keywords:
Focuses: accessibility Cc:

Description

/hat tip afercia for reporting this at https://github.com/voldemortensen/menu-customizer/issues/127

Reported by Michelle deYoung from the accessibility testers group. See: https://make.wordpress.org/accessibility/2015/06/12/accessibility-usertest-menu-customizer/

Issue: Once a new menu is created, the keyboard focus is moved to the content area.

Initially I couldn't reproduce this, she didn't mention the specific browser she used so I was using Chrome. When you press Enter or Spacebar on the "Create Menu" button, in Chrome all is fine, focus is moved to the new panel.
By the way with Firefox something weird happens: after you press "Create Menu", press the tab key 3 times and you're in the preview iframe. Looking closely here's what happens:

  1. press "Create Menu" either with Enter or Spacebar, doesn't matter
  2. tab once: focus is on the "Collapse" link
  3. tab again: focus is on the iframe (Firefox gives focus to iframes)
  4. tab again: focus is on the first focusable element in the preview

I think (not sure) this has something to do with timings: probably Firefox is not able to give focus to a panel while the animation is running and the element not fully visible yet.

Worth noting a complete focus loss like this one would make the Customizer hardly usable by keyboard users.

Change History (6)

#1 @designsimply
10 years ago

  • Keywords needs-patch added

#2 @valendesigns
10 years ago

  • Milestone changed from Awaiting Review to 4.3
  • Owner set to valendesigns
  • Status changed from new to assigned
  • Version set to trunk

I'll look into a patch sometime this next week.

#3 @valendesigns
10 years ago

  • Keywords reporter-feedback added

I cannot reproduce this issue, could you please verify it still exists.

#4 @afercia
10 years ago

  • Keywords close added; needs-patch reporter-feedback removed

Yeah cannot reproduce anymore, maybe magically auto-fixed with latest changes.

#5 @obenland
10 years ago

@designsimply, could you double-check on your end and close as appropriate?

#6 @ocean90
10 years ago

  • Keywords close removed
  • Milestone 4.3 deleted
  • Resolution set to worksforme
  • Status changed from assigned to closed

Confirmed, can't reproduce anymore.

Note: See TracTickets for help on using tickets.