New updates to beta.doenet.org!

New updates on beta.doenet.org!

We just published the following new updates to beta.doenet.org.

Features from new version of DoenetML

The most significant is that we’ve upgraded to version 0.7.4, which gives these new features:

  • An inline <choiceInput> can now render mathematics! This includes inline <answer> tags with choices. For example, this will now render the math in the drop down:
<answer inline>
    <label>Which is a definite integral?</label>
    <choice credit="1"><m>\int_a^b f(x) dx</m></choice>
    <choice><m>\int f(x) dx</m></choice>
</answer>
  • The DoenetML editor is now compliant with WCAG 2.1 AA guidelines
  • By default, answer box borders are now colored based on the correctness of the answer. It can be turned off by setting colorCorrectness="false". To link an input outside an answer, use the forAnswer attribute, as in this example (the short descriptions are unrelated, but necessary for accessibility):
Enter two numbers that add to 5.
<mathInput name="n1" forAnswer="$ans">
    <shortDescription>first number</shortDescription>
</mathInput>
<mathInput name="n2" forAnswer="$ans">
    <shortDescription>second number</shortDescription>
</mathInput>
<answer name="ans">
    <shortDescription>Enter two numbers that add to 5</shortDescription>
    <award><when>$n1 + $n2 = 5</when></award>
</answer>
  • The forAnswer attribute also sets the input to be a response for the answer.
  • If you have a sectionWideCheckWork, the new attribute forceIndividualAnswerColoring will give students more information about which answer is correct by coloring the answer box according to its answer’s correctness. (By default, all answer blanks in the section will be colored by the overall correctness of the section in order to not give away additional information.)

Other features on the website

  • In the settings of a document, you can now select how quickly you want new features of DoenetML

    • If you select DoenetML version 0.7, you will get the new features as soon as we release a new version. This could occur every few weeks.
    • If you select DoenetML version 0.7dev, then you will get new features as soon as create them.

    For most people, you’ll want to use the default of 0.7. But, if you request a new features for your next activity and we create it, you could change to 0.7dev to get that feature right away.

  • Variants can now be selected from the activity viewer (in view mode, not just edit mode)

2 Likes