Jáchym Bártík, KSI
jachym.bartik@matfyz.cuni.cz
| 12 | Labs attendance |
| 12 | Labs bonus points |
| 15 | ReCodEx mandatory tasks |
| ≥ 9 | ReCodEx optional tasks |
| 15 | Lab test |
| 63 | In total |
|---|
| ≥ 61 | excellent (mark 1) |
| ≥ 54 | well done (mark 2) |
| ≥ 47 | OK (mark 3) |
| < 47 | failed (4) |
The final test is optional and is for 50 points, but only 2/3 of points from above will be counted.
You should be able to:
Create a simple HTML form for creating a reservation for today's practical. Include inputs for:
Submit the form to the following URL.
Feel free to use sites such as echo.free.beeceptor.com.
Continue to the next slide once you are done.
Where to validate the form and how?
required - field must be non-empty
type="email" - field must contain a valid email address
type="number" min="1" max="10" - field must contain a number in the given range
pattern="[A-Za-z]{3}" - field must match the given regular expression
name\@tag\ with\ space@[IPv6:0123:4567:89AB:CDEF:0123:4567:89AB:CDEF]
tel - no validation, only semantic<label> to associate labels with inputs<fieldset> and <legend> to group related inputs<input> types appropriatelytabindex)aria-labelaria-describedbyYou can also use some poverful UX techniques like placeholder attribute or autocomplete. But make sure to provide an accessible fallback.
:user-valid, :user-invalid, and :focus pseudo-classes.Example of associating a label with an input:
Continue to the next slide once you are done.
What other properties could be in the form? Try cover all common controls.
Extend your form with the discussed controls. Feel free to use them on fields that make sense to you.
Don't forget accessibility.
Continue to the next slide once you are done.
Have we created a functional form?
Have we created a good form?
Have we created a ....
In order to measure we need a metric.
Full and proper evaluation is out of scope of this practical and even subject. Please consider this slide to be a very brief introduction.
The System Usability Scale (SUS) is often used to evaluate after the implementation phase. The method is based on a simple questionnaire and provide a number representing usability. You can find a lot of resources on the internet about SUS. E.g. SUS by uxtweak.
Yet, evaluating after implementation may be too late! In fact, we would like to test at every phase, not only after the implementation. Baseline phases are analysis, design, and implementation. In the analytical phase we can use storyboards. In the design phase we can use paper mockups or low fidelity prototypes.
We can also use A/B testing to compare alternatives.
There is much more when it comes to user interface design and evaluation. If you find this topic interesting, check out User Interface Design and Evaluation (Interactive Technologies) book.
Upload the form to your public_html directory on webik page as form.html. It should contain all the improvements you made during the practical.