Skip to content

Commit

Permalink
fix: added accessibility support (#20)
Browse files Browse the repository at this point in the history
* accessibility: added support

* some reverts for checks
  • Loading branch information
tBoccinfuso authored and manekinekko committed Nov 22, 2018
1 parent e026b6f commit 7af13f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/search/search/search.component.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section class="ngxtools-palette-warn">
<section class="ngxtools-palette-warn" aria-label="Search for package by name">
<form [formGroup]="searchForm" class="ngxtools-palette-primary-border ngxtools-palette-primary-text">
<input (keydown.enter)="noop($event)" aria-label="Enter your search query" class="input__search ngxtools-palette-accent-text" formControlName="query" placeholder="search packages...">
<button class="button__clear ngxtools-palette-accent-text" mat-button [hidden]="!searchForm.controls.query.value" mat-icon-button
Expand All @@ -14,6 +14,6 @@
</p>
</section>

<section class="ngxtools-palette-primary search-result" #resultContainerRef>
<section class="ngxtools-palette-primary search-result" #resultContainerRef aria-label="Search results">
<app-search-result [packages]="packages" (scrollReachedBottom)="loadNextPage()"></app-search-result>
</section>

0 comments on commit 7af13f8

Please sign in to comment.