better accessibility for honepot formfield

This commit is contained in:
nesges 2024-04-21 16:08:28 +02:00
parent 31272e60b6
commit 16399b63be
2 changed files with 8 additions and 5 deletions

View File

@ -390,14 +390,17 @@ input[type=color] {
}
.form-group.ambrosia-container, .form-group.ambrosia-container * {
position:absolute;
height:0px !important;
width:0px !important;
margin:0 !important;
position:absolute !important;
height:1px !important;
width:1px !important;
margin:-1px !important;
padding:0 !important;
background:transparent !important;
color:transparent !important;
border:none !important;
overflow: hidden !important;
clip: rect(0,0,0,0) !important;
white-space: nowrap !important;
}
.title-input input[type="text"] {

View File

@ -13,7 +13,7 @@
<form action="{{ url("/register") }}" method="POST" class="mt-l stretch-inputs">
{!! csrf_field() !!}
<div class="form-group ambrosia-container">
<div class="form-group ambrosia-container" aria-hidden="true">
<label for="name">{{ trans('auth.name') }}</label>
@include('form.text', ['name' => 'username'])
</div>