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
|
<style include="settings-shared"></style>
<settings-animated-pages id="pages" section="a11y"
focus-config="[[focusConfig_]]">
<div route-path="default">
<if expr="is_chromeos">
<cr-link-row
label="$i18n{manageAccessibilityFeatures}"
on-click="onManageSystemAccessibilityFeaturesClick_"
sub-label="$i18n{moreFeaturesLinkDescription}" external>
</cr-link-row>
</if>
<if expr="is_macosx or is_win">
<template is="dom-if" if="[[enableLiveCaption_]]">
<settings-live-caption prefs="{{prefs}}"
languages="[[languages]]"
language-helper="[[languageHelper]]">
</settings-live-caption>
</template>
<cr-link-row id="captions"
class="hr"
label="$i18n{captionsPreferencesTitle}"
sub-label="$i18n{captionsPreferencesSubtitle}"
on-click="onCaptionsClick_"
button-aria-description="$i18n{opensInNewTab}"
external>
</cr-link-row>
</if>
<if expr="is_linux">
<cr-link-row id="captions"
class="hr"
label="$i18n{captionsTitle}"
on-click="onCaptionsClick_"
role-description="$i18n{subpageArrowRoleDescription}">
</cr-link-row>
</if>
<if expr="not is_chromeos">
<settings-toggle-button
class="hr"
pref="{{prefs.settings.a11y.focus_highlight}}"
on-setting-boolean-control-change="onFocusHighlightChange_"
label="$i18n{focusHighlightLabel}">
</settings-toggle-button>
<settings-toggle-button
class="hr"
pref="{{prefs.settings.a11y.caretbrowsing.enabled}}"
on-change="onA11yCaretBrowsingChange_"
label="$i18n{caretBrowsingTitle}"
sub-label="$i18n{caretBrowsingSubtitle}">
</settings-toggle-button>
</if>
<settings-toggle-button
class="hr"
hidden$="[[!hasScreenReader_]]"
pref="{{prefs.settings.a11y.enable_accessibility_image_labels}}"
on-change="onA11yImageLabelsChange_"
label="$i18n{accessibleImageLabelsTitle}"
sub-label="$i18n{accessibleImageLabelsSubtitle}">
</settings-toggle-button>
<template is="dom-if" if="[[showAxTreeFixingSection_]]">
<settings-toggle-button id="axTreeFixing"
class="hr"
pref="{{prefs.settings.a11y.enable_ax_tree_fixing}}"
label="$i18n{axTreeFixingTitle}"
sub-label="$i18n{axTreeFixingSubtitle}">
</settings-toggle-button>
</template>
<if expr="is_win or is_linux or is_macosx">
<template is="dom-if" if="[[showAxAnnotationsSection_]]">
<settings-ax-annotations-section
id="AxAnnotationsSection"
prefs="{{prefs}}">
</settings-ax-annotations-section>
</template>
</if>
<if expr="is_win or is_linux">
<settings-toggle-button
class="hr"
pref="{{prefs.settings.a11y.overscroll_history_navigation}}"
on-change="onOverscrollHistoryNavigationChange_"
label="$i18n{overscrollHistoryNavigationTitle}"
sub-label="$i18n{overscrollHistoryNavigationSubtitle}">
</settings-toggle-button>
</if>
<if expr="is_macosx">
<cr-link-row
class="hr"
on-click="onMacTrackpadGesturesLinkClick_"
button-aria-description="$i18n{opensInNewTab}"
label="$i18n{overscrollHistoryNavigationTitle}"
sub-label="$i18n{overscrollHistoryNavigationSubtitle}"
external>
</cr-link-row>
</if>
<if expr="not is_chromeos">
<settings-toggle-button class="hr" id="toastToggle"
pref="{{prefs.settings.toast.alert_level}}"
numeric-unchecked-values="[[numericUncheckedToastAlertValues_]]"
numeric-checked-value="[[toastAlertLevelEnum_.ALL]]"
on-change="onToastAlertLevelChange_" label="$i18n{toastAlertLevelTitle}"
sub-label="$i18n{toastAlertLevelDescription}">
</settings-toggle-button>
</if>
<cr-link-row class="hr" label="$i18n{moreFeaturesLink}"
on-click="onMoreFeaturesLinkClick_" sub-label="$i18n{a11yWebStore}"
button-aria-description="$i18n{opensInNewTab}"
external>
</cr-link-row>
</div>
<if expr="is_linux">
<template is="dom-if" route-path="/captions">
<settings-subpage
associated-control="[[$$('#captions')]]"
page-title="$i18n{captionsTitle}">
<settings-captions prefs="{{prefs}}"
languages="[[languages]]"
language-helper="[[languageHelper]]">
</settings-captions>
</settings-subpage>
</template>
</if>
</settings-animated-pages>
|