summaryrefslogtreecommitdiff
path: root/todo.org (follow)
Commit message (Collapse)AuthorAgeFilesLines
* site: use errormsg function for general survey errorsstuebinm2021-04-121-2/+2
| | | | | | | | | the previous commit introduced handling error messages using a "setErrormsg" function. This is now also used for the general error messages which may show up at the bottom of surveys. However, since js and async things are weird, the code there is still a long repetitive mess which can't really be cut down further.
* site: attempt to guess default languagestuebinm2021-04-081-2/+2
| | | | | (from the browser's preferences set via navigator.language and navigator.languages)
* site: add a rudimentary dark modestuebinm2021-04-081-2/+1
| | | | | | | | | | This is a very simple, very high-contrast dark mode (for now). However, not all default ui elements seem to respect it by default — i.e. textareas stay entirely white by default and require additional theming. I'm not sure if this is my system stlye or firefox interfering, but for now I've added custom css rules which at least make text areas black. Buttons and checkboxes are still white, however.
* site: implement accessibility hints of WAVEstuebinm2021-04-081-0/+7
| | | | | | | | | | | This implements some accessibility guidelines, as hinted at by WAVE [1]: - labels for textareas - fieldsets for multiple-choice answers One thing that's still missing is a set language, which I guess will be best implemented together with an actual language switcher. [1] https://wave.webaim.org/
* add a todo filestuebinm2021-04-071-0/+18