Altinn / app-frontend-react

Altinn application React frontend
BSD 3-Clause "New" or "Revised" License
18 stars 31 forks source link

Ability to (optionally) unselect selected radiobutton / likert answer (On-Hold) #1141

Open pckofstad opened 1 year ago

pckofstad commented 1 year ago

Ability to optionally make radiobuttons unselectable.

This issue is on hold, Udir has deceided to run 2023 survey without this feature

After testing Altinn Studio as a survey engine with the UDIR PBU project against 7500 students (grade 5-vg3) in April and May 2023. It is quite clear that many users are answering the survey with IPad's or other touch screen devices. Since they are using fingers to answer and scroll, they sometimes select and answer that was not intended.

It is a political decision to change the format of the questions, this includes adding an option for "do not wish to answer". This enforces the UDIR PBU team to try to solve this the same way as the previous version of the survey was implemented. Making it possible to unselect radiobuttons in certain senarios. We see that some other survey engines support this as well.

Our suggestion is not to change the default behavior, but add a flag that can enable a radio button set og likert to support unselecting a selected radiobutton.

Ability to unselect selected radiobutton / checbox answer

Answer from 31 May 2022

Angående radioknapper og avkrysningsbokser - det er viktig at disse brukes til korrekte formål, og at en ikke mikser med standard oppførsel her. 😊 
(Altså ikke lurt å trikse til avkrysningsbokser der kun èn kan markeres, slik jeg tror det var snakk om i møtet i dag?)

Radioknapper kan som standard oppførsel ikke avmarkeres, da hensikten med dem er at det skal være et markert valg. Når det gjelder om de bør ha et markert alternativ som utgangspunkt, ser jeg det er delte meninger om dette. En artikkel fra Nielsen Norman Group mener at det i de fleste tilfeller bør være et default valgt alternativ, mens studier fra Gov UK tilsier at en ikke bør sette et default alternativ da dette gjør det mer sannsynlig at brukere overser et spørsmål og derav angir feil svar.

Originally posted by @mrosvik in https://github.com/Altinn/app-frontend-react/issues/181#issuecomment-1141970162

pckofstad commented 1 year ago

This issue is on hold, Udir has deceided to run 2023 survey without this feature