Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.5.3, 3.6.1, 3.7
-
Component/s: Accessibility, Questions
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
-
Fixed Branches:MOODLE_35_STABLE, MOODLE_36_STABLE
-
Pull from Repository:
-
Pull 3.5 Branch:
MDL-64464_35 -
Pull 3.5 Diff URL:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
Suppose you have a course in English, about the French language.
And suppose that you have disabled students, so that it is important that the text in your questions is read correctly by screen-readers.
Then, you may want a question:
<p>Put the right word in this phrase:</p>
|
|
<p lang="fr">[[1]] chat s'est assis sur [[1]] tapis</p>
|
|
1: [ le ]
|
2: [ la ]
|
3: [ l' ]
|
This does not work, because the drag items are outside the <p> tag, so are not read by the screen reader with the proper accent.
To fix this, we need to add <span lang=".."> to the set of allowed tags in drag items.