Provide Link Information
On this page:
Test
1 |
References
|
About these tests
Nearby:
More HTML 4.01 Tests
|
UAAG 1.0 Test Suite
UAAG 1.0 Requirement
-
Checkpoint
10.5
Provide link information
(Priority
3
)
-
Provision
1
:
To help the user decide whether to traverse a link in content, make available the following information about it: link element content, link title, whether the link is internal to the resource (e.g., the link is to a target in the same Web page), whether the user has traversed the link recently, and information about the type, size, and natural language of linked Web resources.
Procedure
- Query the user agent to provide information about the following test links as outlined in provision one of this checkpoint.
Run test
Expected results
- The user agent should make available the link information as outlined in provision 1 of this checkpoint including: link element content,
link title, whether the link is internal to the resource (e.g., the link is to a target in the same Web page), whether the user has traversed the link recently, and
information about the type, size, and natural language of linked Web resources.
- (Note: The user agent is not required to compute or make available information that requires retrieval of linked Web resources.)
Source code
<p>
<a href="../action/return.html" title="Test external link 1" hreflang="en" type="text/html" shape="rect" href="../action/return.html" title="Test external link 2" hreflang="en" type="text/html" shape="rect" href="#internal1" title="Test internal link 1" hreflang="en" type="text/html" shape="rect" href="#internal2" title="Test internal link 2" hreflang="en" type="text/html" shape="rect" name="internal1" shape="rect" name="internal2" shape="rect">Test Link 1</a>
</p>
<p>
<a href="../action/return.html" title="Test external link 2" hreflang="en" type="text/html" shape="rect" href="#internal1" title="Test internal link 1" hreflang="en" type="text/html" shape="rect" href="#internal2" title="Test internal link 2" hreflang="en" type="text/html" shape="rect" name="internal1" shape="rect" name="internal2" shape="rect">Test Link 2</a>
</p>
<p>
<a href="#internal1" title="Test internal link 1" hreflang="en" type="text/html" shape="rect" href="#internal2" title="Test internal link 2" hreflang="en" type="text/html" shape="rect" name="internal1" shape="rect" name="internal2" shape="rect">Test Link 3</a>
</p>
<p>
<a href="#internal2" title="Test internal link 2" hreflang="en" type="text/html" shape="rect" name="internal1" shape="rect" name="internal2" shape="rect">Test Link 4</a>
</p>
<h5>
<a name="internal1" shape="rect" name="internal2" shape="rect">Internal Link Anchor 1</a>
</h5>
<h5>
<a name="internal2" shape="rect">Internal Link Anchor 2</a>
</h5>
-
HTML 4.01
specification for
A
This test is part of a
test suite
for the
User Agent Accessibility Guidelines (UAAG)
1.0
. This work is conducted by the
User Agent Accessibility Guidelines Working
Group
, which is part of W3C's
Web Accessibility Initiative (WAI)
. Please send comments on this test to w3c-wai-ua@w3.org (
public archive
).
Test created by:
Last modified: $Date: 2003/04/02 23:46:53 $ by $Author: jongund $
Copyright
© 1999 - 2003
W3C®
(
MIT
,
INRIA
,
Keio
), All Rights Reserved. W3C
liability
,
trademark
,
document use
and
software licensing
rules apply.