fix field focus

This commit is contained in:
Max Böck 2019-04-15 10:22:13 +02:00
parent 874acce025
commit 7ffd84650c
3 changed files with 2 additions and 7 deletions

View file

@ -47,12 +47,6 @@ ol[class] {
list-style: none;
}
/* A elements that don't have a class get default styles */
a:not([class]) {
text-decoration: underline;
text-decoration-skip-ink: auto;
cursor: pointer;
}
/* Turn off the recent search in WebKit. */
::-webkit-search-decoration {
display: none;

View file

@ -29,6 +29,7 @@ h3,
a {
color: $brand-primary;
font-weight: 500;
text-decoration: none;
&:hover,
&:focus {

View file

@ -11,7 +11,7 @@
<label for="input-feed" class="form__label">RSS Feed URL (optional):</label>
<input type="url" name="feed" id="input-feed" class="form__input" placeholder="https://www.franks-site.org/feed.xml" />
</p>
<div class="sr-only" aria-hidden="true">
<div class="sr-only" style="visibility:hidden" aria-hidden="true">
<label for="input-bot">Dont fill this out if you're human:</label>
<input type="text" name="bot" id="input-bot" />
</div>