title: Bootstrap Collapse with aria-expanded="true" doesn't work as expected
body: <p>I use this following code to create collapse-element with Bootstrap 4.5:</p>
  <pre><code>    &lt;div class=&quot;container py-2&quot;&gt;
          &lt;div class=&quot;row&quot;&gt;
  &lt;button class=&quot;btn btn-success my-3&quot; type=&quot;button&quot; data-toggle=&quot;collapse&quot; data-target=&quot;#collapseSelectTable&quot; aria-expanded=&quot;true&quot; aria-controls=&quot;collapseSelectTable&quot;&gt;toggle element&lt;/button&gt;
              &lt;div class=&quot;container collapse&quot; id=&quot;collapseSelectTable&quot;&gt;
              &lt;div class=&quot;row bg-light border border-info rounded align-items-center&quot;&gt;
                  &lt;p&gt;the table&lt;/p&gt;&lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  <p>Clicking on the button toggles the collapsed element just fine, but I expect that it should be visible 'cos &quot;aria-expanded=true&quot; as explained in  <a href="https://getbootstrap.com/docs/4.5/components/collapse/#accessibility" rel="nofollow noreferrer">https://getbootstrap.com/docs/4.5/components/collapse/#accessibility</a> .</p>