Skip to content

Commit

Permalink
Merge a129236 into 064251c
Browse files Browse the repository at this point in the history
  • Loading branch information
shimedh committed Oct 9, 2018
2 parents 064251c + a129236 commit c3e7977
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ <h2>{{title}}</h2>

<div [load-image]="feature.iconUrl" class="icon-medium"></div>
<div class="feature-body">
<h4>{{feature.title}}</h4>
<div class="feature-description" [id]="feature.title | removeSpaces">{{feature.description}}
<a *ngIf="feature.learnMoreUrl"
[href]="feature.learnMoreUrl"
target="_blank"
[attr.aria-label]="feature.title"
[attr.aria-describedby]="feature.title | removeSpaces">{{'topBar_learnMore' | translate}}</a>
<h4 [id]="feature.title | removeSpaces">{{feature.title}}</h4>
<div class="feature-description">{{feature.description}}
<div *ngIf="feature.learnMoreUrl"
[attr.aria-labelledBy]="feature.title | removeSpaces"
[attr.aria-label]="'topBar_learnMore' | translate">
<a [href]="feature.learnMoreUrl"
target="_blank"
[attr.aria-describedby]="feature.title | removeSpaces">{{'topBar_learnMore' | translate}}</a>
</div>
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions client/src/app/site/spec-picker/spec-picker.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ <h2 class="tiers-header" *ngIf="specManager.selectedSpecGroup.recommendedSpecs.l
<div class="spec-expander" *ngIf="showExpander">
<span (click)="specManager.selectedSpecGroup.isExpanded = !specManager.selectedSpecGroup.isExpanded"
(keydown)="onExpandKeyPress($event)"
role="link"
role="button"
tabindex="0"
[attr.aria-expanded]="specManager.selectedSpecGroup.isExpanded"
[attr.aria-controls]="specManager.selectedSpecGroup.id + specManager.selectedSpecGroup.selectedSpec">
[attr.aria-controls]="specManager.selectedSpecGroup.id + specManager.selectedSpecGroup.selectedSpec.skuCode">

<span [load-image]="!specManager.selectedSpecGroup.isExpanded ? 'image/caret-down.svg' : 'image/caret-up.svg'" class="expand-icon"></span>
<a>{{ (!specManager.selectedSpecGroup.isExpanded ? 'seeAllOptions' : 'seeRecommendedOptions') | translate}}</a>
Expand Down

0 comments on commit c3e7977

Please sign in to comment.