mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-03 15:59:57 +00:00
better accessibility for honepot formfield
This commit is contained in:
parent
31272e60b6
commit
16399b63be
2 changed files with 8 additions and 5 deletions
resources
|
@ -390,14 +390,17 @@ input[type=color] {
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-group.ambrosia-container, .form-group.ambrosia-container * {
|
.form-group.ambrosia-container, .form-group.ambrosia-container * {
|
||||||
position:absolute;
|
position:absolute !important;
|
||||||
height:0px !important;
|
height:1px !important;
|
||||||
width:0px !important;
|
width:1px !important;
|
||||||
margin:0 !important;
|
margin:-1px !important;
|
||||||
padding:0 !important;
|
padding:0 !important;
|
||||||
background:transparent !important;
|
background:transparent !important;
|
||||||
color:transparent !important;
|
color:transparent !important;
|
||||||
border:none !important;
|
border:none !important;
|
||||||
|
overflow: hidden !important;
|
||||||
|
clip: rect(0,0,0,0) !important;
|
||||||
|
white-space: nowrap !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title-input input[type="text"] {
|
.title-input input[type="text"] {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<form action="{{ url("/register") }}" method="POST" class="mt-l stretch-inputs">
|
<form action="{{ url("/register") }}" method="POST" class="mt-l stretch-inputs">
|
||||||
{!! csrf_field() !!}
|
{!! csrf_field() !!}
|
||||||
|
|
||||||
<div class="form-group ambrosia-container">
|
<div class="form-group ambrosia-container" aria-hidden="true">
|
||||||
<label for="name">{{ trans('auth.name') }}</label>
|
<label for="name">{{ trans('auth.name') }}</label>
|
||||||
@include('form.text', ['name' => 'username'])
|
@include('form.text', ['name' => 'username'])
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue