5.2.2: accessibility improvements

- moved clipboard button to right, added left-handed layout toggle for those who prefer to have it on left.
- removed button hover highlights on phones.
- added proper checkbox icon for better clarity.
- checkboxes are now stretched edge-to-edge on phone to be easier to manage for right-handed people.
This commit is contained in:
wukko
2023-03-29 22:08:41 +06:00
parent 6e01026894
commit 19087944f7
9 changed files with 71 additions and 33 deletions

View File

@@ -68,7 +68,7 @@ export default function(obj) {
<noscript><div style="margin: 2rem;">${t('NoScriptMessage')}</div></noscript>
</head>
<body id="cobalt-body" data-nosnippet ontouchstart>
<body id="cobalt-body" ${platform === "p" ? 'class="desktop"' : ''} data-nosnippet ontouchstart>
${multiPagePopup({
name: "about",
closeAria: t('AccessibilityClosePopup'),
@@ -314,7 +314,7 @@ export default function(obj) {
"action": "light",
"text": t('SettingsThemeLight')
}]
}) + checkbox("alwaysVisibleButton", t('SettingsKeepDownloadButton'), 4, t('AccessibilityKeepDownloadButton'))
}) + checkbox("alwaysVisibleButton", t('SettingsKeepDownloadButton'), 4, t('AccessibilityKeepDownloadButton')) + checkbox("leftHandedLayout", t('LeftHanded'), 4)
}) + settingsCategory({
name: "miscellaneous",
title: t('Miscellaneous'),