Skip to content

Commit

Permalink
Update copy for Filter Patterns, remove submit button, clear search b…
Browse files Browse the repository at this point in the history
…utton
  • Loading branch information
stalgiag committed Jul 2, 2024
1 parent eaf3f2d commit 08fe3e7
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions content/patterns/patterns.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
</head>
<body>
<h1>Patterns</h1>
<section class="pattern-search">
<h2>Filter</h2>
<div class="pattern-search-flex-container">
<section class="pattern-filter-section">
<h2>Filter Patterns</h2>
<div class="pattern-filter-flex-container">
<form
action="javascript:void(0);"
onsubmit="aria.Filter.filterListItems(document.getElementById('pattern-search-input').value, '#patterns', 'pattern-name', 'no-patterns-found')"
Expand All @@ -31,13 +31,12 @@ <h2>Filter</h2>
</g>
</svg>
<input
type="text"
id="pattern-search-input"
placeholder="Search patterns"
type="search"
id="pattern-filter-input"
placeholder="Filter patterns"
oninput="aria.Filter.filterListItems(this.value, '#patterns', 'pattern-name', 'no-patterns-found')"
aria-label="Search patterns"
aria-label="Filter patterns"
>
<button type="submit" aria-label="Submit search">Search</button>
</form>
<fieldset class="view-toggle">
<button id="listViewButton" onclick="aria.Filter.onViewButtonClicked(this)" aria-pressed="false" aria-label="Show list view">
Expand Down

0 comments on commit 08fe3e7

Please sign in to comment.