[AMOS commit] MDL-83634 tool_brickfield: Downgrade image alt text check's severity Committed into Git: 2024-11-05 04:45 UTC

[AMOS commit] MDL-83634 tool_brickfield: Downgrade image alt text check's severity Committed into Git: 2024-11-05 04:45 UTC

by AMOS bot -
Number of replies: 0
Author: Jun Pataleta
MDL-83634 tool_brickfield: Downgrade image alt text check's severity
Given that
* There is no formally defined limit for alt text length,
* Current versions of screen readers can read alt texts longer than
125 characters,
* Accessibility checkers like axe DevTools, WAVE, etc., do not raise
errors or warnings about long image alt texts.

This patch:
- Downgrades the default severity for the `img_alt_is_too_long`
check from `BA_TEST_SEVERE` to `BA_TEST_SUGGESTION`.
- Updates the `checkdesc:imgaltistoolong` lang string to be more of a
reminder/suggestion rather than an error.


http://git.moodle.org/gw?p=moodle.git;a=commit;h=d0afa76de6a717317f713de180ffecdba72b9e22
http://github.com/moodle/moodle/commit/d0afa76de6a717317f713de180ffecdba72b9e22

+ 4.4 en [checkdesc:imgaltistoolong,tool_brickfield]