Skip to content
This repository has been archived by the owner on Nov 10, 2020. It is now read-only.

Commit

Permalink
Merge pull request #932 from 18F/explore-toggles
Browse files Browse the repository at this point in the history
Added toggle attribute to explore page filter toggle
  • Loading branch information
shawnbot committed Dec 1, 2015
2 parents f01d988 + bcab027 commit 018b20f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions _explore/economic-impact/gdp.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ <h1>Gross Domestic Product</h1>
</div>
<section class="container-right-8">
<div class="filters-wrapper slab-foxtrot container">
<button class="toggle-filters toggle-desktop" is="eiti-toggle" aria-controls="filters" data-expanded-text="Hide Filters">Show Filters</button>
<button class="toggle-filters toggle-desktop" is="eiti-toggle" aria-controls="filters" data-expanded-text="Hide Filters" data-toggler="filters">Show Filters</button>

<form id="filters" aria-hidden="true" class="filters">
<div class="filters-heading">
Expand Down Expand Up @@ -103,7 +103,7 @@ <h3>Filter</h3>
</form>

<div class="container-outer">
<button class="toggle-filters toggle" is="eiti-toggle" aria-controls="filters" data-expanded-text="Hide Filters">Show Filters</button>
<button class="toggle-filters toggle" is="eiti-toggle" aria-controls="filters" data-expanded-text="Hide Filters" data-toggler="filters">Show Filters</button>
</div>

</div>
Expand Down
4 changes: 2 additions & 2 deletions _explore/production/production-federal.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h1>Federal Production</h1>
<div class="filters-wrapper slab-foxtrot">
<button class="toggle-filters toggle-desktop" is="eiti-toggle"
aria-controls="filters" aria-expanded="false"
data-expanded-text="Hide Filters">Show Filters</button>
data-expanded-text="Hide Filters" data-toggler="filters">Show Filters</button>

<form id="filters" aria-hidden="true" class="filters container-outer">

Expand Down Expand Up @@ -85,7 +85,7 @@ <h3>Filter revenue</h3>
</form>

<div class="container-outer">
<button class="toggle-filters toggle" is="eiti-toggle" aria-controls="filters" data-expanded-text="Hide Filters">Show Filters</button>
<button class="toggle-filters toggle" is="eiti-toggle" aria-controls="filters" data-expanded-text="Hide Filters" data-toggler="filters">Show Filters</button>
</div>

</div>
Expand Down
4 changes: 2 additions & 2 deletions _explore/revenue/federal-revenue-by-location.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h1>Federal Revenue by Location</h1>
</div>
<section class="container-right-8">
<div class="filters-wrapper slab-foxtrot container">
<button class="toggle-filters toggle-desktop" is="eiti-toggle" aria-controls="filters" data-expanded-text="Hide Filters">Show Filters</button>
<button class="toggle-filters toggle-desktop" is="eiti-toggle" aria-controls="filters" data-expanded-text="Hide Filters" data-toggler="filters">Show Filters</button>

<form id="filters" aria-hidden="true" class="filters">
<div class="filters-heading">
Expand Down Expand Up @@ -79,7 +79,7 @@ <h3>Filter revenue</h3>
</form>

<div class="container-outer">
<button class="toggle-filters toggle" is="eiti-toggle" aria-controls="filters" data-expanded-text="Hide Filters">Show Filters</button>
<button class="toggle-filters toggle" is="eiti-toggle" aria-controls="filters" data-expanded-text="Hide Filters" data-toggler="filters">Show Filters</button>
</div>

</div>
Expand Down

0 comments on commit 018b20f

Please sign in to comment.