Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Side by Side Diff: content/browser/resources/accessibility/accessibility.html

Issue 2552203005: Enable toggling of new accessibility modes in chrome://accessibility (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <!-- 3 <!--
4 Copyright (c) 2013 The Chromium Authors. All rights reserved. 4 Copyright (c) 2013 The Chromium Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be 5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file. 6 found in the LICENSE file.
7 --> 7 -->
8 <head> 8 <head>
9 <meta charset="utf-8"> 9 <meta charset="utf-8">
10 <title>Accessibility</title> 10 <title>Accessibility Internals</title>
11 <link rel="stylesheet" href="chrome://resources/css/chrome_shared.css"> 11 <link rel="stylesheet" href="chrome://resources/css/chrome_shared.css">
12 <link rel="stylesheet" href="accessibility.css"> 12 <link rel="stylesheet" href="accessibility.css">
13 <script src="chrome://resources/js/cr.js"></script> 13 <script src="chrome://resources/js/cr.js"></script>
14 <script src="chrome://resources/js/load_time_data.js"></script> 14 <script src="chrome://resources/js/load_time_data.js"></script>
15 <script src="chrome://resources/js/action_link.js"></script> 15 <script src="chrome://resources/js/action_link.js"></script>
16 <script src="chrome://resources/js/util.js"></script> 16 <script src="chrome://resources/js/util.js"></script>
17 <script src="strings.js"></script> 17 <script src="strings.js"></script>
18 <script src="accessibility.js"></script> 18 <script src="accessibility.js"></script>
19 </head> 19 </head>
20 <body> 20 <body>
21 <h1>Accessibility</h1> 21 <h1>Accessibility Internals</h1>
22
23 <div class="columns">
24 <div class="column">
25 <h2>Global accessibility mode:</h2>
26
27 <div class="checkbox_row">
28 <span class="checkbox_wrapper">
29 <input type="checkbox" id="native"
30 aria-describedby="native_secondary">
31 </span>
32 <label for="native">
33 Native accessibility API support
34 </label>
35 </div>
36 <div id="native_secondary" class="secondary">
37 Allows Chrome to be controlled via native accessibility APIs
38 specific to this platform.
39 </div>
40
41 <div class="checkbox_row">
42 <span class="checkbox_wrapper">
43 <input type="checkbox" id="web"
44 aria-describedby="web_secondary">
45 </span>
46 <label for="web">
47 Web accessibility
48 </label>
49 </div>
50 <div id="web_secondary" class="secondary">
51 Accessibility support is enabled for web content.
52 </div>
53
54 <div class="checkbox_row">
55 <span class="checkbox_wrapper">
56 <input type="checkbox" id="text"
57 aria-describedby="text_secondary">
58 </span>
59 <label for="text">
60 Text metrics
61 </label>
62 </div>
63 <div id="text_secondary" class="secondary">
64 Enables support for querying line breaks and the bounding
65 box of arbitrary character ranges.
66 </div>
67
68 <div class="checkbox_row">
69 <span class="checkbox_wrapper">
70 <input type="checkbox" id="screenreader"
71 aria-describedby="screenreader_secondary">
72 </span>
73 <label for="screenreader">
74 Screen reader support
75 </label>
76 </div>
77 <div id="screenreader_secondary" class="secondary">
78 Exposes accessibility APIs typically needed only by
79 screen readers.
80 </div>
81
82 <div class="checkbox_row">
83 <span class="checkbox_wrapper">
84 <input type="checkbox" id="html"
85 aria-describedby="html_secondary">
86 </span>
87 <label for="html">
88 HTML
89 </label>
90 </div>
91 <div id="html_secondary" class="secondary">
92 Exposes HTML tag names and attributes via accessibility APIs.
93 </div>
94
95 <h2>Options:</h2>
96
97 <div class="checkbox_row">
98 <span class="checkbox_wrapper">
99 <input type="checkbox" id="internal"
100 aria-describedby="internal_secondary">
101 </span>
102 <label for="internal">
103 Internal
104 </label>
105 </div>
106 <div id="internal_secondary" class="secondary">
107 Show internal accessibility tree instead of native
108 </div>
109
110 </div>
111 <div class="column">
112 <p>
113 Accessibility features in Chrome are off by default and enabled
114 automatically on-demand. Changes to this page only take effect
aboxhall 2016/12/12 20:34:45 Oh? That's different from before...
dmazzoni 2016/12/13 00:30:50 No, this is unchanged...we don't remember any chan
aboxhall 2016/12/13 01:15:56 Ah I misread! Sorry.
115 until the next time Chrome is restarted.
116 </p>
117 <p>
118 To force accessibility to be enabled at launch, run Chrome with this
119 command-line flag:
120 <pre>--force-renderer-accessibility</pre>
121 </p>
122 <p>
123 To disable accessibility, run Chrome with this flag:
124 <pre>--disable-renderer-accessibility</pre>
125 </p>
126 </div>
127 </div>
128
129 <!--
22 <div id="global" class="row">Global accessibility mode: 130 <div id="global" class="row">Global accessibility mode:
23 <a is="action-link" role="button" id="toggle_global" aria-labelledby="global "></a> 131 <a is="action-link" role="button" id="toggle_global" aria-labelledby="global "></a>
24 </div> 132 </div>
133
25 <div id="internal" class="row">Show internal accessibility tree instead of nat ive: 134 <div id="internal" class="row">Show internal accessibility tree instead of nat ive:
26 <a is="action-link" role="button" id="toggle_internal" aria-labelledby="inte rnal"></a> 135 <a is="action-link" role="button" id="toggle_internal" aria-labelledby="inte rnal"></a>
27 </div> 136 </div>
137 -->
28 <div id="pages" class="list"></div> 138 <div id="pages" class="list"></div>
29 <script src="chrome://resources/js/i18n_template.js"></script> 139 <script src="chrome://resources/js/i18n_template.js"></script>
30 </body> 140 </body>
31 </html> 141 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698