File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -401,20 +401,20 @@ const issues = tinymce.activeEditor.plugins.a11ychecker.getReport();
401401
402402console.log(issues);
403403
404- // example result
404+ // Example result
405405[
406406 {
407407 "contentID": "<div id=\"accessibility-issue__contentID\"><span>Text: </span><span>\"H5\"</span></div>",
408408 "description": "Headings must be applied in sequential order. For example: Heading 1 should be followed by Heading 2, not Heading 3.",
409- "element": [object], // The element value contains the DOM element (such as <h4>).
409+ "element": h5, // reference to the DOM element where the issue was found
410410 "id": "D2",
411411 "severity": "error",
412412 "url": "https://www.w3.org/WAI/WCAG21/Techniques/general/G141.html",
413413 },
414414 {
415415 "contentID": "<div id=\"accessibility-issue__contentID\"><span>Table: </span><span>\"2x2\"</span></div>",
416416 "description": "Tables must have captions",
417- "element": [object], // The element value contains the DOM element (such as <table>).
417+ "element": table, // reference to the DOM element where the issue was found
418418 "id": "T1",
419419 "severity": "error",
420420 "url": "https://www.w3.org/WAI/WCAG21/Techniques/html/H39.html",
You can’t perform that action at this time.
0 commit comments