Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 6aa111b

Browse files
Adrian Rosellipetebacondarwin
Adrian Roselli
authored andcommitted
docs(tutorial/step-6): add alt attribute to images
See http://www.ssbbartgroup.com/blog/accessible-images-using-angular/ Closes #12569
1 parent 42b5ce9 commit 6aa111b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/tutorial/step_06.ngdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ __`app/index.html`:__
4343
...
4444
<ul class="phones">
4545
<li ng-repeat="phone in phones | filter:query | orderBy:orderProp" class="thumbnail">
46-
<a href="#/phones/{{phone.id}}" class="thumb"><img ng-src="{{phone.imageUrl}}"></a>
46+
<a href="#/phones/{{phone.id}}" class="thumb"><img ng-src="{{phone.imageUrl}}" alt="{{phone.name}}"></a>
4747
<a href="#/phones/{{phone.id}}">{{phone.name}}</a>
4848
<p>{{phone.snippet}}</p>
4949
</li>

0 commit comments

Comments
 (0)