remove all aria attributes

pull/90/head
Aevann 2023-01-20 09:10:54 +02:00
parent d20167f45c
commit 5235d0f31f
5 changed files with 7 additions and 24 deletions

View File

@ -226,7 +226,6 @@ function buildRouletteBets(bets) {
width="32"
data-bs-toggle="tooltip"
data-bs-placement="bottom"
aria-label="Coin"
data-bs-original-title="Coin">
`;
const marseybuxImgHtml = `
@ -235,7 +234,6 @@ function buildRouletteBets(bets) {
alt="marseybux"
data-bs-toggle="tooltip"
data-bs-placement="bottom"
aria-label="Marseybux"
width="32" class="mr-1 ml-1"
data-bs-original-title="Marseybux">
`;

View File

@ -122,8 +122,7 @@
</a>
{% endif %}
<button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#navbarResponsive"
aria-controls="navbarResponsive">
<button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#navbarResponsive">
<span class="navbar-toggler-icon {% if v and v.notifications_count %}position-relative{% endif %}"><i class="fas fa-bars align-middle text-gray-500 black"></i>
</span>
</button>
@ -194,8 +193,7 @@
<li class="nav-item d-flex align-items-center justify-content-center text-center">
<div class="dropdown" id="header--dropdown">
<a href="{{v.url}}" class="nav-link bg-transparent py-0 pr-0" id="dropdownMenuLink" data-bs-toggle="dropdown"
aria-haspopup="true">
<a href="{{v.url}}" class="nav-link bg-transparent py-0 pr-0" id="dropdownMenuLink" data-bs-toggle="dropdown">
<div class="d-flex">
<div class="profile-pic-35-wrapper">
<img loading="lazy" src="{{v.profile_url}}" class="profile-pic-35">

View File

@ -67,21 +67,18 @@
<label for="username-register" class="mt-3">Username</label>
<input autocomplete="off" class="form-control" id="username-register"
aria-describedby="usernameHelpRegister" type="text" name="username" pattern="[a-zA-Z0-9_\-]{3,25}" min="3" max="25" required {% if username %}value="{{username}}"{% endif %}>
<input autocomplete="off" class="form-control" id="username-register" type="text" name="username" pattern="[a-zA-Z0-9_\-]{3,25}" min="3" max="25" required {% if username %}value="{{username}}"{% endif %}>
<small id="usernameHelpRegister"></small>
<label for="email-register" class="mt-3">Email Address</label>
<small class="d-inline-block text-muted ml-1">(optional)</small>
<input style="background-color: var(--gray-800)" autocomplete="off" class="form-control" id="email-register"
aria-describedby="emailHelpRegister" type="email" pattern='{{EMAIL_REGEX_PATTERN}}' name="email" readonly data-nonce="{{g.nonce}}" {% if email %}value="{{email}}"{% endif %}>
<input style="background-color: var(--gray-800)" autocomplete="off" class="form-control" id="email-register" type="email" pattern='{{EMAIL_REGEX_PATTERN}}' name="email" readonly data-nonce="{{g.nonce}}" {% if email %}value="{{email}}"{% endif %}>
<label for="password-register" class="mt-3">Password</label>
<input autocomplete="off" class="form-control" id="password-register"
aria-describedby="passwordHelpReigster" type="password" name="password" required>
<input autocomplete="off" class="form-control" id="password-register" type="password" name="password" required>
<small id="passwordHelpRegister" class="form-text font-weight-bold text-muted d-none mt-1">Minimum of 8
characters
required.</small>
@ -90,9 +87,7 @@
<label for="password_confirm" class="mt-3">Confirm Password</label>
<input autocomplete="off" class="form-control" id="password_confirm"
aria-describedby="passwordConfirmHelp" type="password" name="password_confirm"
required>
<input autocomplete="off" class="form-control" id="password_confirm" type="password" name="password_confirm" required>
<div class="custom-control custom-checkbox mt-4">
<input autocomplete="off" type="checkbox" class="custom-control-input" id="termsCheck" required>
<label class="custom-control-label terms" for="termsCheck">I accept the <a href="/sidebar">rules</a></label>

View File

@ -68,7 +68,6 @@
data-bs-placement="bottom"
height="13"
src="{{'coins.webp' | asset_siteimg}}"
aria-label="coins"
title="Coins"
style="display: none; position: relative; top: -2px"
>
@ -105,7 +104,6 @@
value="1"
min="1"
step="1"
aria-label="Quantity"
name="ticketPurchaseQuantity"
type="number"
style="flex: 1; max-width: 100px; text-align: center"
@ -129,7 +127,6 @@
data-bs-placement="bottom"
height="13"
src="{{'coins.webp' | asset_siteimg}}"
aria-label="coins"
title="Coins"
>
@ -152,8 +149,6 @@
height: auto !important;
"
role="alert"
aria-live="assertive"
aria-atomic="true"
data-bs-animation="true"
data-bs-autohide="true"
data-bs-delay="5000"
@ -179,8 +174,6 @@
height: auto !important;
"
role="alert"
aria-live="assertive"
aria-atomic="true"
data-bs-animation="true"
data-bs-autohide="true"
data-bs-delay="5000"

View File

@ -15,8 +15,7 @@
<div class="d-lg-flex">
<label for="new-email" class="w-lg-25">Email</label>
<div class="w-lg-100">
<input autocomplete="off" class="form-control" id="new_email" {% if v.email %}placeholder="{{v.email}}"{% else %}placeholder="Your email"{% endif %}
aria-describedby="new_email" type="email" pattern='{{EMAIL_REGEX_PATTERN}}' name="new_email" required>
<input autocomplete="off" class="form-control" id="new_email" {% if v.email %}placeholder="{{v.email}}"{% else %}placeholder="Your email"{% endif %} type="email" pattern='{{EMAIL_REGEX_PATTERN}}' name="new_email" required>
{% if v.email and not v.is_activated %}
<div class="text-danger text-small mt-1" id="email-verify-text">Email not verified. You will not be able to recover your account with this email until you verify it. <u><button type="button" data-nonce="{{g.nonce}}" data-onclick="postToastSwitch(this,'/verify_email');emailVerifyText()" class="text-primary font-weight-bold ml-1">Verify now.</button></u></div>
{% elif not v.email %}