From 2cdd264780005b140a0c686312b193fe5b1ce9a0 Mon Sep 17 00:00:00 2001 From: Rob Garrison Date: Sat, 9 Dec 2017 18:25:44 +0300 Subject: [PATCH] fixups Manage: Disable tabindex in nested buttons Manage: Fix homepage link alignment Manage: Make entry actions keyboard navigatable Manage: Add search help accessibility Msgbox: Save and restore focus Manage: Fix delete confirmation cancel Manage: Make history button accessible Manage: Make favicons dropdown accessible Manage: Prevent focus on hidden textarea Msgbox: Stop tabbing outside of msgbox Usercss: Make nondefault reset accessible Usercss: Make colorpicker accessible Edit: Disable tabindex in nested buttons Edit: Make info and config icons accessible Options: Cleanup HTML Options: Make advanced toggle accessible Edit: Fix issues popup Edit: Remove link underlines from icons --- edit.html | 39 +++++++++++++++------------- edit/edit.css | 15 ++++++++++- edit/edit.js | 3 ++- manage.html | 44 ++++++++++++++++--------------- manage/config-dialog.css | 19 +++++++++----- manage/config-dialog.js | 50 ++++++++++++++++++++++++------------ manage/filters.js | 3 ++- manage/incremental-search.js | 1 + manage/manage.css | 50 +++++++++++++++++++++++++++--------- manage/manage.js | 13 +++++++--- manage/updater-ui.js | 6 ++++- msgbox/msgbox.js | 26 ++++++++++++++++++- options.html | 6 ++--- options/options.js | 10 ++++++-- 14 files changed, 200 insertions(+), 85 deletions(-) diff --git a/edit.html b/edit.html index 6723d658..1c18e254 100644 --- a/edit.html +++ b/edit.html @@ -191,17 +191,19 @@ - - + + + + + +
- +

@@ -246,11 +248,11 @@ - - + + - +
- - - + + +
@@ -300,20 +302,21 @@
- - + + - + @@ -358,7 +361,7 @@ - + diff --git a/edit/edit.css b/edit/edit.css index 7c9ee482..236c97a4 100644 --- a/edit/edit.css +++ b/edit/edit.css @@ -76,6 +76,19 @@ label { min-height: 1.4rem; } +.svg-inline-wrapper { + outline: none; + text-decoration: none; +} + +.svg-inline-wrapper svg { + border-bottom: 1px dashed transparent; +} + +.svg-inline-wrapper:focus svg { + border-bottom-color: #AAA; +} + /* basic info */ #basic-info { margin-bottom: 1rem; @@ -802,4 +815,4 @@ html:not(.usercss) .usercss-only, flex-wrap: wrap; white-space: normal; } -} \ No newline at end of file +} diff --git a/edit/edit.js b/edit/edit.js index 78082854..e84c0fe4 100644 --- a/edit/edit.js +++ b/edit/edit.js @@ -512,7 +512,8 @@ function showToMozillaHelp() { showHelp(t('styleMozillaFormatHeading'), t('styleToMozillaFormatHelp')); } -function showToggleStyleHelp() { +function showToggleStyleHelp(event) { + event.preventDefault(); showHelp(t('helpAlt'), t('styleEnabledToggleHint')); } diff --git a/manage.html b/manage.html index aa87da5e..fc0bef30 100644 --- a/manage.html +++ b/manage.html @@ -41,7 +41,7 @@

- + @@ -64,16 +64,16 @@

- - + + - +

- ... + ...
@@ -92,27 +92,27 @@