Skip to content

Commit

Permalink
fix: Migrate A11y changes from 0.12.0 to numeric content and tiles (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
JKMarkowski committed Sep 25, 2020
1 parent 8fee911 commit 9fe2b87
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h2 fd-tile-subtitle>
<div fd-tile-content>
<div fd-numeric-content>
<div fd-numeric-content-launch-icon-container>
<span fd-numeric-content-launch-icon glyph="line-charts"></span>
<i fd-numeric-content-launch-icon glyph="line-charts" role="presentation"></i>
</div>
<div fd-numeric-content-kpi-container>
<div fd-numeric-content-kpi state="positive">1234</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h2 fd-tile-subtitle>
<div fd-tile-content>
<div fd-numeric-content>
<div fd-numeric-content-kpi-container>
<span fd-numeric-content-kpi state="negative" glyph="line-charts"></span>
<i fd-numeric-content-kpi state="negative" glyph="line-charts" aria-label="Negative"></i>
</div>
<div fd-numeric-content-kpi-container>
<div fd-numeric-content-kpi state="negative">1Ñç</div>
Expand All @@ -25,7 +25,7 @@ <h2 fd-tile-subtitle>
</div>
<div fd-tile-footer [twoColumn]="true">
<div fd-tile-section>
<i fd-tile-refresh (click)="window.alert('Refresh clicked')" glyph="refresh"></i>
<i fd-tile-refresh (click)="window.alert('Refresh clicked')" glyph="refresh" aria-label="Refresh"></i>
<span fd-tile-footer-text>Now</span>
</div>
<div fd-tile-section>
Expand All @@ -48,7 +48,7 @@ <h2 fd-tile-subtitle>
<div fd-tile-content>
<div fd-numeric-content>
<div fd-numeric-content-kpi-container>
<span fd-numeric-content-kpi state="positive" glyph="line-charts"></span>
<i fd-numeric-content-kpi state="positive" glyph="line-charts" aria-label="Positive"></i>
</div>
<div fd-numeric-content-kpi-container>
<div fd-numeric-content-kpi state="positive">1Ñç</div>
Expand All @@ -63,7 +63,7 @@ <h2 fd-tile-subtitle>
</div>
<div fd-tile-footer [twoColumn]="true">
<div fd-tile-section>
<i fd-tile-refresh (click)="window.alert('Refresh clicked')" glyph="refresh"></i>
<i fd-tile-refresh (click)="window.alert('Refresh clicked')" glyph="refresh" aria-label="Refresh"></i>
<span fd-tile-footer-text>Now</span>
</div>
<div fd-tile-section>
Expand All @@ -89,7 +89,7 @@ <h2 fd-tile-subtitle>
<div fd-tile-content>
<div fd-numeric-content size="m">
<div fd-numeric-content-kpi-container>
<span fd-numeric-content-kpi glyph="line-charts"></span>
<i fd-numeric-content-kpi glyph="line-charts" role="presentation"></i>
</div>
<div fd-numeric-content-kpi-container>
<div fd-numeric-content-kpi>1Ñç</div>
Expand All @@ -104,7 +104,7 @@ <h2 fd-tile-subtitle>
</div>
<div fd-tile-footer [twoColumn]="true">
<div fd-tile-section>
<i fd-tile-refresh (click)="window.alert('Refresh clicked')" glyph="refresh"></i>
<i fd-tile-refresh (click)="window.alert('Refresh clicked')" glyph="refresh" aria-label="Refresh"></i>
<span fd-tile-footer-text>Now</span>
</div>
<div fd-tile-section>
Expand All @@ -127,7 +127,7 @@ <h2 fd-tile-subtitle>
<div fd-tile-content>
<div fd-numeric-content size="m">
<div fd-numeric-content-kpi-container>
<span fd-numeric-content-kpi glyph="line-charts"></span>
<i fd-numeric-content-kpi glyph="line-charts" role="presentation"></i>
</div>
<div fd-numeric-content-kpi-container>
<div fd-numeric-content-kpi>1Ñç</div>
Expand All @@ -142,7 +142,7 @@ <h2 fd-tile-subtitle>
</div>
<div fd-tile-footer [twoColumn]="true">
<div fd-tile-section>
<i fd-tile-refresh (click)="window.alert('Refresh clicked')" glyph="refresh"></i>
<i fd-tile-refresh (click)="window.alert('Refresh clicked')" glyph="refresh" aria-label="Refresh"></i>
<span fd-tile-footer-text>Now</span>
</div>
<div fd-tile-section>
Expand All @@ -168,7 +168,7 @@ <h2 fd-tile-subtitle>
<div fd-tile-content>
<div fd-numeric-content size="s">
<div fd-numeric-content-kpi-container>
<span fd-numeric-content-kpi glyph="line-charts"></span>
<i fd-numeric-content-kpi glyph="line-charts" role="presentation"></i>
</div>
<div fd-numeric-content-kpi-container>
<div fd-numeric-content-kpi>1Ñç</div>
Expand All @@ -183,7 +183,7 @@ <h2 fd-tile-subtitle>
</div>
<div fd-tile-footer [twoColumn]="true">
<div fd-tile-section>
<i fd-tile-refresh (click)="window.alert('Refresh clicked')" glyph="refresh"></i>
<i fd-tile-refresh (click)="window.alert('Refresh clicked')" glyph="refresh" aria-label="Refresh"></i>
<span fd-tile-footer-text>Now</span>
</div>
<div fd-tile-section>
Expand All @@ -206,7 +206,7 @@ <h2 fd-tile-subtitle>
<div fd-tile-content>
<div fd-numeric-content size="s">
<div fd-numeric-content-kpi-container>
<span fd-numeric-content-kpi glyph="line-charts"></span>
<i fd-numeric-content-kpi glyph="line-charts" role="presentation"></i>
</div>
<div fd-numeric-content-kpi-container>
<div fd-numeric-content-kpi>1Ñç</div>
Expand All @@ -221,7 +221,7 @@ <h2 fd-tile-subtitle>
</div>
<div fd-tile-footer [twoColumn]="true">
<div fd-tile-section>
<i fd-tile-refresh (click)="window.alert('Refresh clicked')" glyph="refresh"></i>
<i fd-tile-refresh (click)="window.alert('Refresh clicked')" glyph="refresh" aria-label="Refresh"></i>
<span fd-tile-footer-text>Now</span>
</div>
<div fd-tile-section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h2 fd-tile-subtitle>
<div fd-tile-content>
<div fd-numeric-content>
<div fd-numeric-content-launch-icon-container>
<span fd-numeric-content-launch-icon glyph="line-charts"></span>
<i fd-numeric-content-launch-icon glyph="line-charts" role="presentation"></i>
</div>
<div fd-numeric-content-kpi-container>
<div fd-numeric-content-kpi state="negative">1Ñç</div>
Expand All @@ -25,7 +25,7 @@ <h2 fd-tile-subtitle>
</div>
<div fd-tile-footer [twoColumn]="true">
<div fd-tile-section>
<i fd-tile-refresh (click)="window.alert('Refresh clicked')" glyph="refresh"></i>
<i fd-tile-refresh (click)="window.alert('Refresh clicked')" glyph="refresh" aria-label="Refresh"></i>
<span fd-tile-footer-text>Now</span>
</div>
<div fd-tile-section>
Expand All @@ -48,7 +48,7 @@ <h2 fd-tile-subtitle>
<div fd-tile-content>
<div fd-numeric-content>
<div fd-numeric-content-launch-icon-container>
<span fd-numeric-content-launch-icon glyph="line-charts"></span>
<i fd-numeric-content-launch-icon glyph="line-charts" role="presentation"></i>
</div>
<div fd-numeric-content-kpi-container>
<div fd-numeric-content-kpi state="positive">1234</div>
Expand All @@ -69,7 +69,7 @@ <h2 fd-tile-subtitle>Subtitle Text</h2>
</div>
<div fd-tile-footer [twoColumn]="true">
<div fd-tile-section>
<i fd-tile-refresh (click)="window.alert('Refresh clicked')" glyph="refresh"></i>
<i fd-tile-refresh (click)="window.alert('Refresh clicked')" glyph="refresh" aria-label="Refresh"></i>
<span fd-tile-footer-text>Now</span>
</div>
<div fd-tile-section>
Expand All @@ -87,7 +87,7 @@ <h2 fd-tile-subtitle>Subtitle Text</h2>
</div>
<div fd-tile-footer [twoColumn]="true">
<div fd-tile-section>
<i fd-tile-refresh (click)="window.alert('Refresh clicked')" glyph="refresh"></i>
<i fd-tile-refresh (click)="window.alert('Refresh clicked')" glyph="refresh" aria-label="Refresh"></i>
<span fd-tile-footer-text>Now</span>
</div>
<div fd-tile-section>
Expand Down

0 comments on commit 9fe2b87

Please sign in to comment.