Skip to content

Commit

Permalink
chore(select): Fix ID values in demo (#2330)
Browse files Browse the repository at this point in the history
Remove unused ID and changed duplicated ID values. Also fixed the parentheses in RTL.
  • Loading branch information
williamernest authored Mar 2, 2018
1 parent ecf4060 commit c14d244
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions demos/select.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ <h2 class="mdc-typography--title">Fully-Featured JS Component</h2>
Fruit Roll Ups
</li>
<li class="mdc-list-item" role="option" id="cotton-candy" tabindex="0">
Candy (cotton)
Candy (cotton)&#x200E;
</li>
<li class="mdc-list-item" role="option" id="vegetables" aria-disabled="true" tabindex="0">
Vegetables
Expand Down Expand Up @@ -152,7 +152,7 @@ <h2 class="mdc-typography--title">Select box</h2>
Fruit Roll Ups
</li>
<li class="mdc-list-item" role="option" id="cotton-candy2" tabindex="0">
Candy (cotton)
Candy (cotton)&#x200E;
</li>
<li class="mdc-list-item" role="option" id="vegetables2" aria-disabled="true" tabindex="0">
Vegetables
Expand Down Expand Up @@ -185,7 +185,7 @@ <h2 class="mdc-typography--title">Select box</h2>

<section class="example">
<h2 class="mdc-typography--title">Pre-selected option via HTML</h2>
<section id="demo-wrapper">
<section>
<div id="js-pre-selected" class="mdc-select" role="listbox">
<div class="mdc-select__surface" tabindex="0">
<div class="mdc-select__label">Food Group</div>
Expand All @@ -194,16 +194,16 @@ <h2 class="mdc-typography--title">Pre-selected option via HTML</h2>
</div>
<div class="mdc-menu mdc-select__menu">
<ul class="mdc-list mdc-menu__items">
<li class="mdc-list-item" role="option" id="fruit-roll-ups" tabindex="0" aria-selected="true">
<li class="mdc-list-item" role="option" id="fruit-roll-ups3" tabindex="0" aria-selected="true">
Fruit Roll Ups
</li>
<li class="mdc-list-item" role="option" id="cotton-candy" tabindex="0">
<li class="mdc-list-item" role="option" id="cotton-candy3" tabindex="0">
Candy (cotton)
</li>
<li class="mdc-list-item" role="option" id="vegetables" aria-disabled="true" tabindex="0">
<li class="mdc-list-item" role="option" id="vegetables3" aria-disabled="true" tabindex="0">
Vegetables
</li>
<li class="mdc-list-item" role="option" id="noodles" tabindex="0">
<li class="mdc-list-item" role="option" id="noodles3" tabindex="0">
Noodles
</li>
</ul>
Expand Down

0 comments on commit c14d244

Please sign in to comment.