-
Improvement
-
Resolution: Fixed
-
Minor
-
3.11.14, 4.0.8, 4.1.3, 4.2
-
MOODLE_311_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE
-
MOODLE_401_STABLE, MOODLE_402_STABLE
-
MDL-78338-401_toolbrickfieldlinkinnewwindow -
I really hope that this issue is considered for backporting to earlier versions. Prior to this fix, the "link opening in a new window" accessibility check was not behaving as it was documented and intended to do analysis, and as WCAG itself advises and other accessibility advisors (search for Links opening..) say is best practice.
The definition of the check says: "Links opening into a new window should warn users in advance." Without the fix implemented in MDL-75404, the check was flagging the content as an error even if there was an advance warning.
This advance warning is most commonly done through adding a phrase such as "opens in new window" within the text of the link itself. This is what the new code was allowing the accessibility check to detect, and if detected, then an error was not present and didn't need to be reported.
- will help resolve
-
MDL-75404 Refactor check for new window target to detect a "new window" lang string
- Closed