title: JQuery UI - Improper checkbox state icon using .checkboxradio() and .tabs()
body: <p>I've some trouble to properly render a <strong>selected</strong> checkbox when put inside a tabs widget.</p>
  
  <p>Outside the tabs the checkboxes renders correctly.</p>
  
  <p>I prepared a JSFiddle showing the issue: <a href="https://jsfiddle.net/x30gzqo4/8/" rel="nofollow noreferrer">https://jsfiddle.net/x30gzqo4/8/</a></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$( function() {
    $(".checkbox").checkboxradio();
    $("#guestsData").tabs();
  });</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>div {
    margin: 20px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"&gt;&lt;/script&gt;
  &lt;link href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.css" rel="stylesheet"/&gt;
  
  &lt;div&gt;
    &lt;label for="test0"&gt;This is checked and works&lt;/label&gt;
    &lt;input type="checkbox" class="checkbox" id="test0" value="yes" checked="checked" /&gt;
  &lt;/div&gt;
  &lt;div id="guestsData"&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href="#guest-0"&gt;Tab 0&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#guest-1"&gt;Tab 1&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#guest-2"&gt;Tab 2&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#guest-3"&gt;Tab 3&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div id="guest-0"&gt;
      &lt;div&gt;
        &lt;label for="test1"&gt;This is checked and don't works!&lt;/label&gt;
        &lt;input type="checkbox" class="checkbox" id="test1" value="yes" checked="checked" /&gt;
      &lt;/div&gt;
      &lt;div&gt;
        &lt;label for="test2"&gt;This is unchecked&lt;/label&gt;
        &lt;input type="checkbox" class="checkbox" id="test2" value="yes" /&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div id="guest-1"&gt;
      Tab 1 content
    &lt;/div&gt;
    &lt;div id="guest-2"&gt;
      Tab 2 content
    &lt;/div&gt;
    &lt;div id="guest-3"&gt;
      Tab 3 content
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Any help or idea is strongly appreciated.</p>
  
  <p>Thank you for your help.</p>