decker-edu / decker

A markdown based tool for slide deck creation.
GNU General Public License v3.0
55 stars 14 forks source link

Default Option of Select-Box quizzes is always "..." #33

Closed salbeira closed 1 year ago

salbeira commented 1 year ago

Our accessibility team recommended that we do not use "..." as the default value for selection box quizzes but something that is an understandable call to action.

It seems that this is not managed by the quiz-wue.js plugin but created by this:

https://github.com/decker-edu/decker/blob/c4238f4fdb1b6ac7ace5954d040fbb05bd043407/src/Text/Decker/Filter/Quiz.hs#L295

Can we make the text of default answers or placeholders in all quiz types configurable?

monofon commented 1 year ago

What would an "understandable call to action" be in this case?

Making syntax configurable is something I would rather not do. We could talk about a syntactic alternative, though. So the question is, what would be an alternative syntax that is arguably better (for some version of better).

mbotsch commented 1 year ago

I think I added this in f4c51967bc3f6e402bb6225b7e14e4348e712f22

monofon commented 1 year ago

Ok, so it is not syntax, just localized text. I did not get that from the description.

salbeira commented 1 year ago

Not really "localized" text but text at all. An understandable call to action would be "click here to choose an answer" or something similar. The "..." was hard coded as the only value, that was all. I think we can close this now.