From e3a8fe85e3481b7fcbd986ba6e9506ba0c5bad0d Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 1 Jan 2023 13:05:39 +0200 Subject: [PATCH] remove all accessibility attributes --- 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, 114 insertions(+), 132 deletions(-) diff --git a/files/assets/css/main.css b/files/assets/css/main.css index e9d1ec372..72f51236f 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], [role="button"]) +a:not([href]) { color: inherit; text-decoration: none; @@ -5112,7 +5112,7 @@ code { .noshadow { box-shadow: none !important; } -[role="button"], :not(textarea)[onclick], :not(textarea)[data-onclick], th { +: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 c419acb98..898855cf0 100644 --- a/files/assets/js/casino/roulette_screen.js +++ b/files/assets/js/casino/roulette_screen.js @@ -227,7 +227,6 @@ function buildRouletteBets(bets) { data-bs-toggle="tooltip" data-bs-placement="bottom" title="" - aria-label="Coin" data-bs-original-title="Coin"> `; const marseybuxImgHtml = ` @@ -237,7 +236,6 @@ 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 296cabcc6..1e3d5d716 100644 --- a/files/templates/admin/app.html +++ b/files/templates/admin/app.html @@ -63,12 +63,12 @@ -