trilbymedia / grav-skeleton-bootstrap4-site Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
I ran my contact form through the WAVE accessibility checker (https://wave.webaim.org/), and it revealed that the labels for the form fields are not associated with their respective form fields. It looks like the radio and checkbox fields may be associated already because the form element is nested inside the label, but for the others, like text and select, they are not associated. I did not test radio and checkbox in the accessibility checker to make sure they are OK. The fields that need this fix are date, datetime, email, password, select, textarea, text, and upload.
I traced the problem to themes/bootstrap4/templates/forms/fields//.twig. The association can be reintroduced by updating the label field like
<label class="control-label col-sm-2" {% if field.id is defined %}for="{{ field.id|e }}" {% endif %}>
and adding the following attribute to the input field
{% if field.id is defined %}id="{{ field.id|e }}" {% endif %}
Additionally, there are some label fields associated with nothing that describe field groups and should be replaced by a
+ . These are in the radio and checkboxes definitions.Please add scroll to the top button to this skeleton.
Hello,
now on the home page is "Home | Grav", but I need to only "Home" - title of home page, without " | Grav", but only for home page. How can I do it?
ps. this skeleton is really amazing for ordinary people who are not webmasters but need more settings in admin panel!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.