Forms: Integrate Ctrl+S Shortcut for Submitting a Form
The first lines of the page containing the form, shall be exactly like this:[h:]
<script src="u5admin/shortcut.js"></script>
<script>
shortcut.add("Ctrl+S",function() {
document.u5form.submit();
})
</script>
[:h]
Example result
Examples below: Do optimize <label>-usage
In the examples below, the <label> tag is not used in a screen reader–compliant way.
For example
<label>Name*</label><input … name="name_mandatory" … />
instead of
<label>Name*<input … name="name_mandatory" … /></label>
Closing the label-tag after the form field helps blind users by providing better screen reader support.
×
In the examples below, the <label> tag is not used in a screen reader–compliant way.
For example
<label>Name*</label><input … name="name_mandatory" … />
instead of
<label>Name*<input … name="name_mandatory" … /></label>
Closing the label-tag after the form field helps blind users by providing better screen reader support.
If the focus is on this page (and not somewhere else, e. g. on a browser control), hitting the shortcut CTRL+S will submit the form below.