Skip to article frontmatterSkip to article content

Rules Overview

This section summarizes the categories checked by the extension and maps them to WCAG 2.1 AA.

Image

No.Rule IDDescriptionWCAG
1aimage-missing-altEnsure the presence of alt text in images which are embedded in markdown.WCAG 1.1.1

Heading

No.Rule IDDescriptionWCAG
2aheading-missing-h1Ensure the presence of H1 tag in a notebookWCAG 2.4.2
2bheading-multiple-h1Ensure there is only one H1 tag in a notebookWCAG 2.4.6
2cheading-duplicate-h2Ensure no two H2 headings share the same contentWCAG 2.4.6
2dheading-duplicate-h1-h2Ensure no two H1 and H2 headings share the same contentWCAG 2.4.6
2eheading-wrong-orderEnsure the order of heading is accurateWCAG 2.4.6
2fheading-emptyEnsure the heading content is non-emptyWCAG 2.4.6

Table

No.Rule IDDescriptionWCAG
3atable-missing-headerEnsure row and column headers are present in a tableWCAG 1.3.1
3btable-missing-captionEnsure caption was added for a tableWCAG 1.3.1
3ctable-missing-scopeEnsure presence of scope attribute for rows and columnsWCAG 1.3.1

Color

No.Rule IDDescriptionWCAG
4acolor-insufficient-cc-normalEnsure normal text in images have a contrast ratio of 4.5:1 and text contrast in generalWCAG 1.4.3
4bcolor-insufficient-cc-largeEnsure large text in images have a contrast ratio of 3:1WCAG 1.4.3

No.Rule IDDescriptionWCAG
4alink-discernible-textEnsure that the purpose of each link can be determined from the link text alone or from the link text together with its programmatically determined link contextWCAG 2.4.4