From 8a1343e7394e24e680623c0ee5fdde2ed5e94475 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 1 Jan 2023 13:12:35 +0200 Subject: [PATCH] Revert "remove all accessibility attributes" This reverts commit e3a8fe85e3481b7fcbd986ba6e9506ba0c5bad0d. --- files/assets/css/main.css | 4 ++-- files/assets/js/casino/roulette_screen.js | 2 ++ files/templates/admin/app.html | 4 ++-- files/templates/admin/apps.html | 4 ++-- files/templates/casino/blackjack_screen.html | 2 +- files/templates/casino/game_screen.html | 6 ++--- files/templates/casino/slots_screen.html | 2 +- files/templates/comments.html | 22 ++++++++--------- files/templates/default.html | 6 ++--- files/templates/email/2fa_remove.html | 6 ++--- files/templates/email/default.html | 6 ++--- files/templates/email/email_change.html | 10 ++++---- files/templates/email/email_verify.html | 10 ++++---- files/templates/email/password_reset.html | 10 ++++---- files/templates/header.html | 2 ++ files/templates/log.html | 2 +- files/templates/login/sign_up.html | 4 ++++ files/templates/login/sign_up_failed_ref.html | 2 +- files/templates/lottery.html | 9 +++++++ files/templates/modals/award.html | 8 +++---- files/templates/modals/ban.html | 8 +++---- files/templates/modals/delete_post.html | 4 ++-- files/templates/modals/emoji.html | 4 ++-- files/templates/modals/expanded_image.html | 4 ++-- files/templates/modals/gif.html | 4 ++-- files/templates/modals/report_post.html | 4 ++-- files/templates/notifications.html | 2 +- files/templates/popover.html | 2 +- .../templates/post_admin_actions_mobile.html | 4 ++-- files/templates/settings.html | 6 ++--- files/templates/settings/apps.html | 2 +- files/templates/settings/common.html | 2 +- files/templates/settings/personal.html | 4 ++-- files/templates/settings/security.html | 13 +++++----- files/templates/settings2.html | 8 +++---- files/templates/submission.html | 18 +++++++------- files/templates/submission_listing.html | 24 +++++++++---------- files/templates/submit.html | 4 ++-- files/templates/transfers.html | 2 +- files/templates/userpage/admintools.html | 2 +- files/templates/util/macros.html | 4 ++-- 41 files changed, 132 insertions(+), 114 deletions(-) diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 6501e5025..78a44a541 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -301,7 +301,7 @@ a:hover { color: var(--primary); text-decoration: underline; } -a:not([href]) +a:not([href], [role="button"]) { color: inherit; text-decoration: none; @@ -5112,7 +5112,7 @@ code { .noshadow { box-shadow: none !important; } -:not(textarea)[onclick], :not(textarea)[data-onclick], th { +[role="button"], :not(textarea)[onclick], :not(textarea)[data-onclick], th { cursor: pointer !important; } diff --git a/files/assets/js/casino/roulette_screen.js b/files/assets/js/casino/roulette_screen.js index 898855cf0..c419acb98 100644 --- a/files/assets/js/casino/roulette_screen.js +++ b/files/assets/js/casino/roulette_screen.js @@ -227,6 +227,7 @@ function buildRouletteBets(bets) { data-bs-toggle="tooltip" data-bs-placement="bottom" title="" + aria-label="Coin" data-bs-original-title="Coin"> `; const marseybuxImgHtml = ` @@ -236,6 +237,7 @@ function buildRouletteBets(bets) { data-bs-toggle="tooltip" data-bs-placement="bottom" title="" + aria-label="Marseybux" width="32" class="mr-1 ml-1" data-bs-original-title="Marseybux"> `; diff --git a/files/templates/admin/app.html b/files/templates/admin/app.html index 1e3d5d716..296cabcc6 100644 --- a/files/templates/admin/app.html +++ b/files/templates/admin/app.html @@ -63,12 +63,12 @@ -
+ -
+
-
+ -
+