Make WordPress Core

Opened 12 years ago

Closed 10 years ago

#31204 closed enhancement (maybelater)

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

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

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

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

#1 in reply to: ↑ description @afercia
12 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
10 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
10 years ago

@celloexpressions think we should close it :)

#4 @celloexpressions
10 years ago

  • Milestone Future Release
  • Resolutionmaybelater
  • Status newclosed

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

Note: See TracTickets for help on using tickets.