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

Commit c6b57f1

Browse files
gkalpakbtford
authored andcommitted
docs(guide/accessibility): fix dangling links
1 parent 240e0d5 commit c6b57f1

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/content/guide/accessibility.ngdoc

+8-8
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ added it as a dependency, you can test a few things:
3131
##Supported directives
3232
Currently, ngAria interfaces with the following directives:
3333

34-
* <a href="#ngmodel">ngModel</a>
35-
* <a href="#ngdisabled">ngDisabled</a>
36-
* <a href="#ngshow">ngShow</a>
37-
* <a href="#nghide">ngHide</a>
38-
* <a href="#ngclick-and-ngdblclick">ngClick</a>
39-
* <a href="#ngclick-and-ngdblclick">ngDblClick</a>
34+
* {@link guide/accessibility#ngmodel ngModel}
35+
* {@link guide/accessibility#ngdisabled ngDisabled}
36+
* {@link guide/accessibility#ngshow ngShow}
37+
* {@link guide/accessibility#nghide ngHide}
38+
* {@link guide/accessibility#ngclick ngClick}
39+
* {@link guide/accessibility#ngdblclick ngDblClick}
4040

4141
<h2 id="ngmodel">ngModel</h2>
4242

@@ -206,9 +206,9 @@ shown or hidden by removing or adding the `.ng-hide` CSS class onto the element.
206206

207207
The default CSS for `ngHide`, the inverse method to `ngShow`, makes ngAria redundant. It toggles
208208
`aria-hidden` on the directive when it is hidden or shown, but the content is already hidden with
209-
`display: none`. See explanation for <a href="#ngshow">ngShow</a> when overriding the default CSS.
209+
`display: none`. See explanation for {@link guide/accessibility#ngshow ngShow} when overriding the default CSS.
210210

211-
<h2 id="ngclick-and-ngdblclick">ngClick and ngDblclick</h2>
211+
<h2><span id="ngclick">ngClick</span> and <span id="ngdblclick">ngDblclick</span></h2>
212212
If `ng-click` or `ng-dblclick` is encountered, ngAria will add `tabindex` if it isn't there already.
213213
Even with this, you must currently still add `ng-keypress` to non-interactive elements such as `div`
214214
or `taco-button` to enable keyboard access. Conversation is currently ongoing about whether ngAria

0 commit comments

Comments
 (0)