WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 6 years ago

#31204 closed enhancement (maybelater)

Skip-to-preview links for keyboard users in the Customizer

Reported by: celloexpressions Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.4
Component: Customize Keywords: needs-patch
Focuses: accessibility Cc:

Description

See https://make.wordpress.org/accessibility/2015/01/31/theme-switcher-accessibility-test-result/. Let's add these links at the top and bottom of #customize-controls for now. We could also consider adding one to the preview, but since it would need to go into the footer (wp_footer) I'm not sure how useful that would be when dealing with inaccessible themes. Should probably wait on that part for now.

Patch is a start, but not yet functional, this needs someone to pick it up.

Attachments (1)

31204.diff (2.4 KB) - added by celloexpressions 7 years ago.
The JS doesn't work yet, but looks like we do need JS here.

Download all attachments as: .zip

Change History (5)

@celloexpressions
7 years ago

The JS doesn't work yet, but looks like we do need JS here.

#1 in reply to: ↑ description @afercia
7 years ago

Replying to celloexpressions:

We could also consider adding one to the preview, but since it would need to go into the footer (wp_footer) I'm not sure how useful that would be when dealing with inaccessible themes.

Was thinking to use Escape as a sort of "go back" control:

  • you're in the preview: press Esc to go back to the left pane
  • you're in the left theme switcher pane: press Esc to close it and go back to the customizer main pane
  • you're in the customizer main pane: press Esc to close the customizer

When nothing else works and you're trapped: press Escape :)
Not sure it can be done inside an iframe though.

#2 @celloexpressions
6 years ago

@afercia do you think we should still look at finding a way to improve this, or should we close this ticket for now?

#3 @afercia
6 years ago

@celloexpressions think we should close it :)

#4 @celloexpressions
6 years ago

  • Milestone Future Release deleted
  • Resolution set to maybelater
  • Status changed from new to closed

We can revisit this in the future if we can come up with a strategy here.

Note: See TracTickets for help on using tickets.