Giter Club home page Giter Club logo

adapt-contrib-mcq's People

Contributors

andrewhosgood avatar brian-learningpool avatar cahirodoherty-learningpool avatar cajones avatar chris-steele avatar chucklorenz avatar dancgray avatar darylhedley avatar dependabot[bot] avatar eleanor-heath avatar guywillis avatar himanshu1618 avatar joe-allen-89 avatar joe-replin avatar kevadsett avatar kirsty-hames avatar lc-petranussdorfer avatar lc-thomasberger avatar lemmyadams avatar moloko avatar nayankhedkar avatar olaoluwam avatar oliverfoster avatar ryan-lynch avatar sarveshwar-gavhane avatar semantic-release-bot avatar simondate avatar taylortom avatar tomgreenfield avatar zenduo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

adapt-contrib-mcq's Issues

v1.1.0 b5: scrolling page behind DT/FB can lock page

When a display text or pop-up is open it's still possible to scroll the page behind the pop-up, although the interactivity of elements is locked and the page is greyed out.

This is fine except that it is possible to 'close' or conceal the pop-up through scrolling, rendering it no longer possible to properly close the pop-up and restore the page to its original, interactive state.

Observed w/ Nexus 7, Chrome.

using mcq-item class - should use component-item class instead

lines: 8, 9, 10, 70, 196, 225, 226

why: the gmcq component extends this component. gmcq uses the same logic but has different class names. shows mostly when resetting the component to its original state on revisit or viewing component state in page level progress menu.

Incorrect behaviour with multiple mcq components on one page

I've noticed that if you have multiple mcq components on one page things start to get a little bit funky:

  • With two mcq components on the same block, (one left, one right), selecting the options on the right one, causes the one on the left to select. Also, the one on the right does not submit.
  • As above but using two blocks, the behaviour is as above. Note that it also not possible to submit the second mcq.
  • With two articles and blocks, and an mcq in each, submitting the second mcq disables the first.
  • I have an article with two blocks, and two mcqs on each. If I go through the questions from top to bottom it works, if I do them from bottom to top, I don't get a chance to select all the items in the first question. Four should have been selectable but I can only select two.
    (@darylhedley, I spoke to @chris-steele about this and he asked me to assign it to you.)

Develop branch properties.schema need updating

properties.schema needs updating with new schema attributes. ariaLabel fields need adding to properties.schema.

Needed for framework v2.0 and authoring tool compatibility.

disabledAriaLabel in example.json is now redundant and can be removed

Adapt Accessibility tests: co-05 MCQ feedback text reading issues

From @shauncg on June 20, 2014 12:27

After the MCQ is answered and the feedback text appears JAWS begins reading it. It gets as far as the second sentence, which it starts reading but then diverges:

"Scrolling is also a given when viewing content on a smartphone so a dialogue dun- button".

At this point the user can manually read through the remaining feedback text using the down cursor button (or similar) but it's unclear why JAWS stops and falters at the point it does.

See also #409 - JAWS falters in a similar way in the hotspot pop-up text.

Copied from original issue: adaptlearning/adapt_framework#413

Mcq capitalisation

"mcq" should be "Mcq" to match capitalisation convention found in other contrib components.

v1.1.0: MCQ feedback text

Feedback text in some popups currently displays:

[object Object]

E.g. in co-20 (b-55 MCQ; c-120 GMCQ)

Feedbacks should read something like:

This feedback will appear if you answered part of the question correctly.
Or:
This feedback will appear if you answered the question incorrectly.

odd code placement

shouldn't lines 126 & 127:

this.$('label').removeClass('selected');
this.$('input').prop('checked', false);

be part of the function deselectAlItems?

MCQ is broken

  • This is fired when interacting with the component
    Uncaught TypeError: Cannot read property '0' of undefined

Model answer bug

When selecting the incorrect answer (in this case option 3), when changing to the model answer, the highlight shows up on the 2nd option.

bug-1
bug2

Marking not read

Global to question components(?)

From @shauncg on October 28, 2014 16:18

Correct / incorrect marking is not read out in any way, so a blind user will have no idea of whether they were correct or not unless feedback is present.

This should be fine for questions throughout most courses, but for assessments / quizzes it may be a problem. If users get a final score then that helps, but for parity with sighted users is there any way of having JAWS announce whether an answer was correct or incorrect?

(This one could be really tricky to implement so it may just be a case of ensuring that all accessible courses definitely have either feedback / notify layers, or final scoring, for all question components.)

Duplicate of issue: https://github.com/cgkineo/adapt-contrib-mcq/issues/2

Incorrect feedback with multiple attempts and one correct answer

Hi

I have built a course and have used the MCQ a few times. I have created a question with 2 correct answers and 2 attempts and this provides the correct feedback.

However I have also created a question with two attempts and only one correct answer, if you choose the wrong answer then the incorrect final feedback appears on the first go. It will then allow me to reset and attempt the question again but obviously this should be showing me the incorrect notfinal feedback first.

I have tested the question by increasing the number of correct answers to 2 and the feedback that should appear does appear. So it only seems to be an issue if you have multiple attempts and only one correct answer.

I've copied the code below:

{
"_id": "54db64562304c437586d2bdb",
"_parentId": "54db64342304c437586d2bda",
"_type": "component",
"_componentType": "54c265d4e024e9f113f872ce",
"_layout": "right",
"body": "

Who did the principal share information about the issue with?

",
"displayTitle": "",
"title": "Share",
"_classes": "",
"_component": "mcq",
"_buttons": {
"hideCorrectAnswer": "My Answer",
"showCorrectAnswer": "Answer",
"reset": "Reset",
"submit": "Submit"
},
"_feedback": {
"_partlyCorrect": {
"notFinal": "
That's not right. Click or tap Reset to try again.
",
"final": "
That's not right. Click or tap Reset to try again.
"
},
"_incorrect": {
"notFinal": "
That's not right. Click or tap Reset to try again.
",
"final": "
That's not right. The principal referred the issue to the college Child Protection Officer and then Social Services. The principal was able to make use of existing processes and relationships with colleagues to help him Notice, Check and Share. Safeguarding vulnerable people from radicalisation is no different from safeguarding them from other forms of harm.
"
},
"correct": "
That's right. The principal referred the issue to the college Child Protection Officer and then Social Services. The principal was able to make use of existing processes and relationships with colleagues to help him Notice, Check and Share. Safeguarding vulnerable people from radicalisation is no different from safeguarding them from other forms of harm.
"
},
"_items": [
{
"_shouldBeSelected": false,
"text": "The Prevent team"
},
{
"_shouldBeSelected": true,
"text": "The college Child Protection Officer and then Social Services"
},
{
"_shouldBeSelected": false,
"text": "The police"
},
{
"_shouldBeSelected": false,
"text": "The pupils"
}
],
"_selectable": 1,
"_questionWeight": 1,
"_isRandom": true,
"_attempts": 2,
"instruction": "Select the correct answer, then click or tap Submit."
}

MCQ marking bug when component re-rendered

See for example the assessment: answer the MCQ, observe marking, go to menu then return to assessment. Notice marking not consistent. Cause of bug has been found to be a mistake in the hbs file: '_isCorrect' property should changed to 'correct' for item models. Branch and commit to follow.

N.B. issue duplicated adaptlearning/adapt_framework#335

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.