Affects Version/s: 3.8.2
Log in as admin Go into a course Make sure that the editing mode is NOT enabled View source of the page (usually ctrl+u) Copy the source Visit https://validator.w3.org/nu/ Set the 'check by' field to 'text input' and replace the content of the text editor with what you copied on step 5 Press the 'check' button Press the 'message filtering' button Verify that you don't see any of the following errors: Element img is missing required attribute alt. Bad value presentation for attribute role on element img
- Log in as admin
- Go into a course
- Make sure that the editing mode is NOT enabled
- View source of the page (usually ctrl+u)
- Copy the source
- Visit https://validator.w3.org/nu/
- Set the 'check by' field to 'text input' and replace the content of the text editor with what you copied on step 5
- Press the 'check' button
- Press the 'message filtering' button
- Verify that you don't see any of the following errors:
- Element img is missing required attribute alt.
- Bad value presentation for attribute role on element img
Fixed Branches:MOODLE_37_STABLE, MOODLE_38_STABLE
Pull from Repository:
Pull 3.7 Branch:
Pull 3.7 Diff URL:
Pull 3.8 Branch:
Pull 3.8 Diff URL:
Pull Master Branch:
Pull Master Diff URL:
Sprint:International 3.9 - Sprint 7
- Errors were found using W3C Nu Validation Service and filtered to indicate WCAG errors only.
Orphaned form labels. See Fig. 8.01--> this is related to the videojs player we use in Moodle. Reported the issue upstream here Colour contrast #3, #25, #26.--> addressed at MDL-64494 Abbreviations such as "KB" and "PDF" are not fully explained. Even well-known abbreviations need to either be expanded on the first use on a page or that a link to a glossary or list of terms be provided.--> left out for now. see details in comments.
4.1.1 In content implemented using markup languages, elements have complete start and end tags, elements are nested according to their specifications, elements do not contain duplicate attributes, and any IDs are unique, except where the specifications allow these features.
Note: Start and end tags that are missing a critical character in their formation, such as a closing angle bracket or a mismatched attribute value quotation mark are not complete.
- Labels or Instructions
3.3.2 Labels or instructions are provided when content requires user input
- Non-text Contrast:
1.4.11 The visual presentation of the following have a contrast ratio of at least 3:1 against adjacent colour(s):
User Interface Components
Visual information required to identify user interface components and states, except for inactive components or where the appearance of the component is determined by the user agent and not modified by the author;
Parts of graphics required to understand the content, except when a particular presentation of graphics is essential to the information being conveyed.
3.1.4 A mechanism for identifying the expanded form or meaning of abbreviations is available.