title: Restrict tabbing for all tabbable children in a div
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>#input{
    display: inline-block;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div&gt;
    &lt;div&gt;
      &lt;input type="radio"&gt;
      &lt;label&gt;Item 1&lt;/label&gt;
    &lt;/div&gt;
    &lt;div class="inputClass"&gt;
      &lt;div id="input"&gt;Some text&lt;/div&gt;
      &lt;div id="input"&gt;&lt;input type="text"&gt;&lt;/div&gt;
    &lt;/div&gt;
     &lt;div&gt;
      &lt;input type="radio"&gt;
       &lt;label&gt;Item 2&lt;/label&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>In the above HTML snippet, is there any way I can restrict tabbing to the <code>input</code> inside <code>.inputClass</code>? </p>
  
  <p>Please note that in the actual code I have no way of knowing if <code>.inputClass</code> will hold an <code>input</code> box or not. It could be a button, dropdowns etc or any other tabbable element. So I can't apply <code>tabindex=-1</code> to the element(s).</p>
  
  <p>Also, please note I don't want a jQuery solution.</p>