Documentation has misleading aria-expanded attribute
Created by: downFast
Hi all currently the documentation says:
<li class="nav-item">
<a class="nav-link active" id="pills-home-tab" data-toggle="pill" href="#pills-home" role="tab" aria-controls="pills-home" aria-expanded="true">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" id="pills-profile-tab" data-toggle="pill" href="#pills-profile" role="tab" aria-controls="pills-profile" aria-expanded="true">Profile</a>
</li>
It has twicearia-expanded="true"
while one of them should be set to false
. Also on the section And with vertical pills. we have aria-expanded="true"
for all of them. Yet in the documentation it says If the collapsible element is closed by default, the attribute on the control element should have a value of aria-expanded="false".
Therefore either I am not getting it right, or there is a mistake in the docs.