blob: a92d55309dd111770a6401f077529f51f920185c (
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
|
<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html">
<link rel="import" href="chrome://md-settings/controls/settings_checkbox.html">
<dom-module id="settings-a11y-page">
<link rel="import" type="css" href="chrome://md-settings/settings_shared.css">
<link rel="import" type="css" href="a11y_page.css">
<template>
<div class="settings-box">
<span i18n-content="a11yExplanation"></span>
<a i18n-values="href:a11yLearnMoreUrl" i18n-content="learnMore"
target="_blank"></a>
</div>
<div class="settings-box">
<settings-checkbox i18n-values="label:optionsInMenuLabel"
pref="{{prefs.settings.a11y.enable_menu}}">
</settings-checkbox>
<settings-checkbox i18n-values="label:largeMouseCursorLabel"
pref="{{prefs.settings.a11y.large_cursor_enabled}}">
</settings-checkbox>
<settings-checkbox i18n-values="label:highContrastLabel"
pref="{{prefs.settings.a11y.high_contrast_enabled}}">
</settings-checkbox>
<settings-checkbox
pref="{{prefs.settings.a11y.sticky_keys_enabled}}"
i18n-values="label:stickyKeysLabel">
</settings-checkbox>
<settings-checkbox pref="{{prefs.settings.accessibility}}"
i18n-values="label:chromeVoxLabel">
</settings-checkbox>
<settings-checkbox i18n-values="label:screenMagnifierLabel"
pref="{{prefs.settings.a11y.screen_magnifier}}">
</settings-checkbox>
<settings-checkbox i18n-values="label:tapDraggingLabel"
pref="{{prefs.settings.touchpad.enable_tap_dragging}}">
</settings-checkbox>
<settings-checkbox i18n-values="label:clickOnStopLabel"
pref="{{prefs.settings.a11y.autoclick}}">
</settings-checkbox>
<div class="autoclick-delay-label"
hidden$="[[!prefs.settings.a11y.autoclick]]">
<span i18n-content="delayBeforeClickLabel"></span>
<select id="autoclickDropdown"
value="{{prefs.settings.a11y.autoclick_delay_ms::change}}">
<option value="200" i18n-content="delayBeforeClickExtremelyShort">
</option>
<option value="400" i18n-content="delayBeforeClickVeryShort">
</option>
<option value="600" i18n-content="delayBeforeClickShort">
</option>
<option value="800" i18n-content="delayBeforeClickLong">
</option>
<option value="1000" i18n-content="delayBeforeClickVeryLong">
</option>
</select>
</div>
<settings-checkbox pref="{{prefs.settings.a11y.virtual_keyboard}}"
i18n-values="label:onScreenKeyboardLabel">
</settings-checkbox>
</div>
<div class="settings-box">
<div class="button-strip">
<paper-button i18n-content="moreFeaturesLink"
on-tap="onMoreFeaturesTap_"></paper-button>
</div>
</div>
</template>
<script src="a11y_page.js"></script>
</dom-module>
|