fix(aio): accessibility items in search and home
Index: Changed h3s to h2s given hierarchy Index: Aligned text and image blocks to be centered Index: Announcement bar button darkened for appropriate contrast Search Results: Changed to list items in unordered list to accommodate accessibility and updated styles accordingly
This commit is contained in:

committed by
Pete Bacon Darwin

parent
f90258162a
commit
ab03852234
@ -2,9 +2,11 @@
|
||||
<h2 class="visually-hidden">Search Results</h2>
|
||||
<div class="search-area" *ngFor="let area of searchAreas | async">
|
||||
<h3>{{area.name}}</h3>
|
||||
<div class="search-page" *ngFor="let page of area.pages">
|
||||
<a class="search-result-item" href="{{ page.path }}" (click)="onResultSelected(page)">{{ page.title }}</a>
|
||||
</div>
|
||||
<ul>
|
||||
<li class="search-page" *ngFor="let page of area.pages">
|
||||
<a class="search-result-item" href="{{ page.path }}" (click)="onResultSelected(page)">{{ page.title }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user