title: What needs to be enqueued into WordPress to use the jQuery-ui ".accordion" function?
body: <p>I want to use the jQuery-ui <code>.accordion</code> function in a WordPress child theme. So far I've:</p>
  
  <ol>
  <li>created a js file in my child theme directory and put it in no-conflict mode:
  <code>jQuery(document).ready(function($) {
     $( "#accordion" ).accordion();
  });</code></li>
  <li>Enqueued the script into my functions.php file: <code>function myChild_scripts() {
       wp_enqueue_style( 'onepage-child-style', get_stylesheet_uri() );
       wp_enqueue_script( 'onepage-child-accordion', get_stylesheet_uri() . '/js/accordion.js', array('jquery-ui-accordion', 'jquery'), 20150507, true );</code></li>
  <li>Added the <code>add_action</code> function: <code>add_action( 'wp_enqueue_scripts', 'myChild_scripts' );</code></li>
  </ol>
  
  <p>However, the <code>.accordion</code> function is also dependent on <code>jquery-ui.css</code>. Don't I also need to include that in the enqueueing process? I can find no documentation that discusses inclusion of this file - or whether it's already part of WP core.</p>