354 protected function render_template() { |
355 protected function render_template() { |
355 ?> |
356 ?> |
356 <li id="accordion-section-{{ data.id }}" class="accordion-section control-section control-section-{{ data.type }}"> |
357 <li id="accordion-section-{{ data.id }}" class="accordion-section control-section control-section-{{ data.type }}"> |
357 <h3 class="accordion-section-title" tabindex="0"> |
358 <h3 class="accordion-section-title" tabindex="0"> |
358 {{ data.title }} |
359 {{ data.title }} |
359 <span class="screen-reader-text"><?php _e( 'Press return or enter to open this section' ); ?></span> |
360 <span class="screen-reader-text"> |
|
361 <?php |
|
362 /* translators: Hidden accessibility text. */ |
|
363 _e( 'Press return or enter to open this section' ); |
|
364 ?> |
|
365 </span> |
360 </h3> |
366 </h3> |
361 <ul class="accordion-section-content"> |
367 <ul class="accordion-section-content"> |
362 <li class="customize-section-description-container section-meta <# if ( data.description_hidden ) { #>customize-info<# } #>"> |
368 <li class="customize-section-description-container section-meta <# if ( data.description_hidden ) { #>customize-info<# } #>"> |
363 <div class="customize-section-title"> |
369 <div class="customize-section-title"> |
364 <button class="customize-section-back" tabindex="-1"> |
370 <button class="customize-section-back" tabindex="-1"> |
365 <span class="screen-reader-text"><?php _e( 'Back' ); ?></span> |
371 <span class="screen-reader-text"> |
|
372 <?php |
|
373 /* translators: Hidden accessibility text. */ |
|
374 _e( 'Back' ); |
|
375 ?> |
|
376 </span> |
366 </button> |
377 </button> |
367 <h3> |
378 <h3> |
368 <span class="customize-action"> |
379 <span class="customize-action"> |
369 {{{ data.customizeAction }}} |
380 {{{ data.customizeAction }}} |
370 </span> |
381 </span> |
371 {{ data.title }} |
382 {{ data.title }} |
372 </h3> |
383 </h3> |
373 <# if ( data.description && data.description_hidden ) { #> |
384 <# if ( data.description && data.description_hidden ) { #> |
374 <button type="button" class="customize-help-toggle dashicons dashicons-editor-help" aria-expanded="false"><span class="screen-reader-text"><?php _e( 'Help' ); ?></span></button> |
385 <button type="button" class="customize-help-toggle dashicons dashicons-editor-help" aria-expanded="false"><span class="screen-reader-text"> |
|
386 <?php |
|
387 /* translators: Hidden accessibility text. */ |
|
388 _e( 'Help' ); |
|
389 ?> |
|
390 </span></button> |
375 <div class="description customize-section-description"> |
391 <div class="description customize-section-description"> |
376 {{{ data.description }}} |
392 {{{ data.description }}} |
377 </div> |
393 </div> |
378 <# } #> |
394 <# } #> |
379 |
395 |