parent
40fa6542e6
commit
2a26db16f6
|
@ -128,8 +128,7 @@
|
||||||
|
|
||||||
.h5p-question .h5p-question-prev,
|
.h5p-question .h5p-question-prev,
|
||||||
.h5p-question .h5p-question-next {
|
.h5p-question .h5p-question-next {
|
||||||
padding: 0;
|
padding: 0.5em 0;
|
||||||
height: 2.1875em;
|
|
||||||
width: 2.1875em;
|
width: 2.1875em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -421,6 +421,9 @@ H5P.QuestionSet = function (options, contentId) {
|
||||||
question.addButton('next', '', function () {
|
question.addButton('next', '', function () {
|
||||||
_stopQuestion(currentQuestion);
|
_stopQuestion(currentQuestion);
|
||||||
_showQuestion(currentQuestion + 1);
|
_showQuestion(currentQuestion + 1);
|
||||||
|
}, true, {
|
||||||
|
href: '#', // Use href since this is a navigation button
|
||||||
|
'aria-label': 'Next Question' // TODO: Translate
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -429,6 +432,9 @@ H5P.QuestionSet = function (options, contentId) {
|
||||||
question.addButton('prev', '', function () {
|
question.addButton('prev', '', function () {
|
||||||
_stopQuestion(currentQuestion);
|
_stopQuestion(currentQuestion);
|
||||||
_showQuestion(currentQuestion - 1);
|
_showQuestion(currentQuestion - 1);
|
||||||
|
}, true, {
|
||||||
|
href: '#', // Use href since this is a navigation button
|
||||||
|
'aria-label': 'Previous Question' // TODO: Translate
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue