Skip to content

Commit

Permalink
Remove redundant aria-label attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
breity committed Oct 25, 2023
1 parent 9021d03 commit 931a60e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,13 @@ <h3 fxLayout="row" fxLayoutAlign="start center" class="title-header">
>
<mat-icon>info</mat-icon>
</button>
<button
mat-icon-button
aria-label="Preview Unit"
i18n-aria-label
matTooltip="Preview Unit"
i18n-matTooltip
(click)="previewProject()"
>
<button mat-icon-button matTooltip="Preview Unit" i18n-matTooltip (click)="previewProject()">
<mat-icon>visibility</mat-icon>
</button>
<button
mat-icon-button
*ngIf="runId"
fxHide.xs
aria-label="Switch to Grading View"
i18n-aria-label
matTooltip="Switch to Grading View"
i18n-matTooltip
(click)="switchToGradingView()"
Expand Down
22 changes: 7 additions & 15 deletions src/messages.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ Click &quot;Cancel&quot; to keep the invalid JSON open so you can fix it.</sourc
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/components/top-bar/top-bar.component.html</context>
<context context-type="linenumber">48</context>
<context context-type="linenumber">39</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/components/common/feedbackRule/edit-feedback-rules/edit-feedback-rules.component.html</context>
Expand Down Expand Up @@ -1455,11 +1455,7 @@ Click &quot;Cancel&quot; to keep the invalid JSON open so you can fix it.</sourc
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/components/top-bar/top-bar.component.html</context>
<context context-type="linenumber">23</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/components/top-bar/top-bar.component.html</context>
<context context-type="linenumber">25</context>
<context context-type="linenumber">21</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/classroomMonitor/classroomMonitorComponents/shared/top-bar/top-bar.component.html</context>
Expand Down Expand Up @@ -9827,25 +9823,21 @@ Click &quot;Cancel&quot; to keep the invalid JSON open so you can fix it.</sourc
<source>Switch to Grading View</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/components/top-bar/top-bar.component.html</context>
<context context-type="linenumber">35</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/components/top-bar/top-bar.component.html</context>
<context context-type="linenumber">37</context>
<context context-type="linenumber">28</context>
</context-group>
</trans-unit>
<trans-unit id="b8ae83571c90788bf730befdbb3de4c7cf14ed8e" datatype="html">
<source> Help </source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/components/top-bar/top-bar.component.html</context>
<context context-type="linenumber">53,55</context>
<context context-type="linenumber">44,46</context>
</context-group>
</trans-unit>
<trans-unit id="ffac8783eaf153173408c8a9014a7484fa6a9175" datatype="html">
<source>User Menu</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/components/top-bar/top-bar.component.html</context>
<context context-type="linenumber">58</context>
<context context-type="linenumber">49</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/classroomMonitor/classroomMonitorComponents/shared/top-bar/top-bar.component.html</context>
Expand All @@ -9856,7 +9848,7 @@ Click &quot;Cancel&quot; to keep the invalid JSON open so you can fix it.</sourc
<source> Go Home </source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/components/top-bar/top-bar.component.html</context>
<context context-type="linenumber">83,85</context>
<context context-type="linenumber">74,76</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/classroomMonitor/classroomMonitorComponents/shared/top-bar/top-bar.component.html</context>
Expand All @@ -9867,7 +9859,7 @@ Click &quot;Cancel&quot; to keep the invalid JSON open so you can fix it.</sourc
<source> Sign Out </source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/components/top-bar/top-bar.component.html</context>
<context context-type="linenumber">87,89</context>
<context context-type="linenumber">78,80</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/classroomMonitor/classroomMonitorComponents/shared/top-bar/top-bar.component.html</context>
Expand Down

0 comments on commit 931a60e

Please sign in to comment.