-
Improvement
-
Resolution: Fixed
-
Minor
-
3.11.8, 4.0.2
It's been decided to make a small change to the checks for links which have a blank target, thus opening in a new window, as discussed in the Moodle forums.
The minor change is to allow (i.e. not report as an error) a blank target link / area if they have included the phrase "new window" in their link text or area alt text.
This phrase processing is multilingual aware. It will also do a readability check, to prevent spaces being used in the lang string instead, which would otherwise neutralise this check completely. It does this by adding a test to verify the text is readable before checking for valid phrases.
Testing:
Before, the HTML "<a href="www.google.com" target="_blank">This is google (opens in new window)</a>" will be flagged as an error for the check "Links opening into a new window should warn users in advance". After patch is applied, this HTML will pass this check.
- will be (partly) resolved by
-
MDL-78338 Update "new window" accessibility check (backport of MDL-75404)
- Closed