Štěpán Stenchlák, KSI
stepan.stenchlak@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) |
Optional final test for 50 points, but only ⅔ 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. The form must contain input fields 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 filledtype="email" - field must contain a valid email addresstype="number" min="1" max="10" - field must contain a number in the given rangepattern="[A-Za-z]{3}" - field must match the given regular expressionmaxlength="10" - field must not exceed the given lengthQA Engineer walks into a bar and he orders a beer. Orders 0 beers. Orders 99999999999 beers. Orders a lizard. Orders -1 beers. Orders a ueicbksjdhd. First real customer walks in and asks where the bathroom is. The bar bursts into flames, killing everyone.
Make errors understandable.
When life gives you lemons, write better error messages, Wix UX, Jenni Nadler, Medium
Use warnings instead of errors
name\@tag\ with\ space@[IPv6:0123:4567:89AB:CDEF:0123:4567:89AB:CDEF] is RFC2822 valid e-mail address<label> to associate labels with inputs<fieldset> and <legend> to group related inputs<input> types appropriately (e.g., email, tel, url)aria-labelaria-describedbyWhat are some good/bad examples of placeholder attribute?
:valid and :invalid pseudo-classes.
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 you can check out User Interface Design and Evaluation (Interactive Technologies) book.