summaryrefslogtreecommitdiffstats
path: root/doc/accessibility/skip-content.html
blob: 3c1b2b492c94746e17c4a4a81fa28995f08f50c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<!doctype html>
<html class="no-js" lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Accessibility: Skip Links</title>
    <meta name="description" content="Accessible skip links">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style type="text/css">
        .sr-only {
            border: 0;
            clip: rect(0 0 0 0);
            height: 1px;
            margin: -1px;
            overflow: hidden;
            padding: 0;
            position: absolute;
            width: 1px;
        }
        .clearfix {
            *zoom: 1;
        }
        .clearfix:before,
        .clearfix:after {
            display: table;
            content: "";
            line-height: 0;
        }
        .clearfix:after {
            clear: both;
        }
        body {
            margin: 0;
            padding: 0;
        }
        .head {
            background-color: #049baf;
            padding: 5px;
        }
        .nav {
            width: 200px;
            float: left;
            margin: 0 20px 20px 0;
            padding: 0 20px 20px 0;
        }
        .container {
            margin: 10px 0 0 0;
        }
        .content {
            overflow: auto;
        }
        .skip-links {
            position: absolute;
            opacity: 1;
        }
        .skip-links-inline {
            margin-top: -3.5em;
        }
        .skip-links ul {
            list-style-type: none;
            margin: 0;
            padding: 0;
        }
        .skip-links ul li {
            display: inline;
            margin: 0;
            padding: 0;
        }
        .skip-links ul li a {
            position: absolute;
            display: block;
            left: -999em;
            width: 200px;
            padding: 0.6em;
            background-color: white;
        }
        .skip-links ul li a:focus {
            left: 0;
        }
    </style>
</head>
<body>
    <div class="head">
        <div class="skip-links">
            <nav>
                <h1 class="sr-only">Skip Links</h1>
                <ul>
                    <li><a tabindex="0" href="#content">Skip to Content</a></li>
                    <li><a tabindex="0" href="#searchField">Skip to Search</a></li>
                    <li><a tabindex="0" href="#navigation">Skip to Navigation</a></li>
                </ul>
            </nav>
        </div>
        <div id="logo">
            <a href="skip-content.html">
                <img width="92" height="32" title="" alt="" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFwAAAAgCAYAAACfDx/iAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcSAAAXEgFnn9JSAAAAB3RJTUUH3gkEDx0B5aU5bgAACCxJREFUaN7tmn2slmUdx7+/5+UcPFhAeQR0SSnOEodFWSPZdGxGZsWhiZFZq+myl5WZDWchIW4VODa3cDPNNWfFS9aquWmWyaJss1qDcE1txstKFPCEHA7ynPM8n/7gdx1/XN73cx7o0B9xru3e/dzX+/W9vtfv7Xqk40zAdOAhYAjYClzk+RpPY5iAKlAHnuS1ado4Qu1T5TjaVCVNlnRRyGv5e+E4pGMPOJKGJA1k35L0z3FIx16kmL9XZOJk07gMHz0l8GRmEVSZ2WvyA6BmZgD3SPqXpG1m9iBQM7PhcVjbM1aAAV3AJ4CzIpPbtFsInBO+a+MMHz3VnK4AWyW9RVIX0COpATRz5rvcr0s6VdJOoCqpaWbDRSclKFrzehSdnJNGabromCjpXElNz59tZs2c6WYmM2tJ6pU0aGZDZjayKUUget40STNi3kl7EtLCgZuBg8A6YFkmJq4A7gDuAj4GLE2b4SKpnXL9NHAAeAW4H6j5qRiX5cGx6QZuB3qBfwRLpAU0gQawIGunCD7Q5e9mZs3Mcn1x0gNdcSAqDtwZDlDD3feWP8P+BniXb1AVqGT9ngXM9XrD/gDMcU/15FSaQf62gIabfAI+GxSrZZ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8YJ1vA+4Epv4HBqUeGKwVd68AAAAASUVORK5CYII=" />
            </a>
        </div>
    </div>
    <div class="container clearfix">
    <div class="nav">
        <h1 class="sr-only">Navigation</h1>

        <div id="search">
            <h2 class="sr-only">Search</h2>
            <form>
                <fieldset>
                    <label for="searchField">Search</label>
                    <input type="text" name="searchField" id="searchField" />
                </fieldset>
            </form>
        </div>
        <nav>
            <h2 id="navigation" tabindex="0" class="sr-only">Site Links</h2>
            <ul>
                <li><a href="#">Link1</a></li>
                <li><a href="#">Link2</a></li>
                <li><a href="#">Link3</a></li>
            </ul>
        </nav>
    </div>
    <div class="content">
        <h1 tabindex="0" id="content">Content</h1>
        <div class="skip-links skip-links-inline">
            <nav>
                <ul>
                    <li><a tabindex="0" href="#content2">Skip content</a></li>
                </ul>
            </nav>
        </div>
        <p>
            Organised prehistoric cultures began developing on Bulgarian lands
            during the Neolithic period. Its ancient history saw the presence
            of the Thracians and later the Greeks and Romans. The emergence of
            a unified Bulgarian state dates back to the establishment of the
            <a href="#">First Bulgarian Empire</a>
            in 681 CE, which dominated most of the
            Balkans and functioned as a cultural hub for Slavs during the
            Middle Ages.
        </p>
        <p>
            With the downfall of the Second Bulgarian Empire in 1396, its
            <a href="#">territories came under Ottoman</a>
            rule for nearly five centuries.
            The Russo-Turkish War (1877–78) led to the formation of the Third
            Bulgarian State. The following years saw several conflicts with its
            neighbours, which prompted Bulgaria to align with Germany in both
            world wars.
        </p>
        <p>
            In 1946 it became a single-party socialist state as part of the
            Soviet-led Eastern Bloc. In December 1989 the ruling Communist
            Party allowed multi-party elections, which subsequently led to
            Bulgaria's transition into a democracy and a market-based economy.
        </p>

        <h1 tabindex="0" id="content2">Content2</h1>
        <p>
            The development of Final Fantasy VIII began in 1997, during the
            English localization process of Final Fantasy VII. It was produced
            <a href="#">by Shinji Hashimoto</a>,
            and directed by Yoshinori Kitase. The music
            was scored by regular series composer Nobuo Uematsu, and in a
            series first a vocal piece was written as the game's theme, "Eyes
            on Me", performed by Faye Wong.
        </p>
        <p>
            The game was positively received by
            critics,
            <a href="#">who praised the originality </a>
            and scope of the game. It was
            voted the 22nd-best game of all time in 2006 by readers of the
            Japanese magazine Famitsu. The game was a commercial success;
            thirteen weeks after its release,
        </p>
    </div>
    </div>
</body>
</html>