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

Commit 41385f0

Browse files
committed
docs(*): improve accessibility of links
Closes #7932
1 parent 500b0f6 commit 41385f0

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docs/app/src/tutorials.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ angular.module('tutorials', [])
4343
'<a href="http://angular.github.io/angular-phonecat/step-{{step}}/app">Step {{step}} Live Demo</a>.</p>\n' +
4444
'</div>\n' +
4545
'<p>The most important changes are listed below. You can see the full diff on ' +
46-
'<a ng-href="https://github.com/angular/angular-phonecat/compare/step-{{step ? (step - 1): \'0~1\'}}...step-{{step}}">GitHub</a>\n' +
46+
'<a ng-href="https://github.com/angular/angular-phonecat/compare/step-{{step ? (step - 1): \'0~1\'}}...step-{{step}}" title="See diff on Github">GitHub</a>\n' +
4747
'</p>'
4848
};
4949
});

docs/config/templates/indexPage.template.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
<div class="row">
7777
<div class="col-md-9 header-branding">
7878
<a class="brand navbar-brand" href="http://angularjs.org">
79-
<img width="117" height="30" class="logo" ng-src="img/angularjs-for-header-only.svg">
79+
<img width="117" height="30" class="logo" alt="Link to Angular JS Homepage" ng-src="img/angularjs-for-header-only.svg">
8080
</a>
8181
<ul class="nav navbar-nav">
8282
<li class="divider-vertical"></li>
@@ -223,7 +223,7 @@ <h4 class="search-results-group-heading">{{ key }}</h4>
223223
Super-powered by Google ©2010-2015
224224
( <a id="version"
225225
ng-href="https://github.com/angular/angular.js/blob/master/CHANGELOG.md#{{versionNumber}}"
226-
ng-bind-template="v{{version}}">
226+
ng-bind-template="v{{version}}" title="Changelog of this version of Angular JS">
227227
</a>
228228
)
229229
</p>

docs/content/misc/faq.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ Conditionally showing and hiding things using jQuery is a common pattern in othe
194194
`ng-show` (and `ng-hide`) conditionally show and hide elements based on boolean expressions.
195195
Describe the conditions for showing and hiding an element in terms of `$scope` variables:
196196

197-
<div ng-show="!loggedIn">Click <a href="#/login">here</a> to log in</div>
197+
<div ng-show="!loggedIn"><a href="#/login">Click here to log in</a></div>
198198

199199
Note also the counterpart `ng-hide` and similar `ng-disabled`.
200200
Note especially the powerful `ng-switch` that should be used instead of several mutually exclusive `ng-show`s.

docs/content/tutorial/step_00.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ npm install
3131

3232
To see the app running in a browser, open a *separate* terminal/command line tab or window, then
3333
run `npm start` to start the web server. Now, open a browser window for the app and navigate to
34-
<a href="http://localhost:8000/app/" target="_blank">`http://localhost:8000/app/`</a>
34+
<a href="http://localhost:8000/app/" target="_blank" title="Open app on localhost">`http://localhost:8000/app/`</a>
3535

3636
Note that if you already ran the master branch app prior to checking out step-0, you may see the cached
3737
master version of the app in your browser window at this point. Just hit refresh to re-load the page.

0 commit comments

Comments
 (0)