Skip to content

Commit

Permalink
WCAG: add alt="" on school non-content icon
Browse files Browse the repository at this point in the history
* https://github.com/GoogleChrome/accessibility-developer-tools/wiki/Audit-Rules#ax_text_02 says:
```
<!-- Good: image used for presentation has an empty alt value -->
<img src="line.png" alt="">
```
  • Loading branch information
techieshark committed Sep 12, 2016
1 parent 4bc4652 commit 2ee89da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ <h1>Results</h1>
<div id="school-info-{{school_code}}" class="school-info">

<div class="school-name">
<img class="icon" src="https://api.tiles.mapbox.com/v3/marker/[email protected]">
<img alt="" class="icon" src="https://api.tiles.mapbox.com/v3/marker/[email protected]">
{{school_name}}
</div>

Expand Down

0 comments on commit 2ee89da

Please sign in to comment.