Skip to content

Commit

Permalink
chore(toggle-button-group): removed a11y option c per PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtBlue committed Jul 21, 2023
1 parent 12b9735 commit 015019e
Showing 1 changed file with 0 additions and 41 deletions.
41 changes: 0 additions & 41 deletions docs/_includes/toggle-button-group.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,47 +96,6 @@ <h5 id="toggle-button-group-b" class="clipped">Select Shoe Size</h5>
</button>
</li>
</ul>
{% endhighlight %}

<h4>Label Directly on List (c)</h4>
<div class="demo">
<div class="demo__inner">
<ul aria-label="Select Shoe Size" class="toggle-button-group" data-columns="2">
<li>
<button type="button" class="toggle-button" aria-pressed="false">
<span class="toggle-button__content">
<span class="toggle-button__title">8</span>
</span>
</button>
</li>
<li>
<button type="button" class="toggle-button" aria-pressed="false">
<span class="toggle-button__content">
<span class="toggle-button__title">8.5</span>
</span>
</button>
</li>
</ul>
</div>
</div>

{% highlight html %}
<ul aria-label="Select Shoe Size" class="toggle-button-group" data-columns="2">
<li>
<button type="button" class="toggle-button" aria-pressed="false">
<span class="toggle-button__content">
<span class="toggle-button__title">8</span>
</span>
</button>
</li>
<li>
<button type="button" class="toggle-button" aria-pressed="false">
<span class="toggle-button__content">
<span class="toggle-button__title">8.5</span>
</span>
</button>
</li>
</ul>
{% endhighlight %}

<h3>Prescriptive Responsive Layouts Using Preferred Minimum Columns</h3>
Expand Down

0 comments on commit 015019e

Please sign in to comment.