|
@@ -134,9 +134,14 @@ The checker is based on the [Axe](https://github.com/dequelabs/axe-core) testing
|
|
|
|
|
|
By default, the checker includes the following rules that are among the most common and critical accessibility issues to be violated by editors in Wagtail:
|
|
|
|
|
|
+- `button-name`: `<button>` elements must always have a text label.
|
|
|
- `empty-heading`: This rule checks for headings with no text content. Empty headings are confusing to screen readers users and should be avoided.
|
|
|
-- `p-as-heading`: This rule checks for paragraphs that are styled as headings. Paragraphs should not be styled as headings, as this can cause confusion for users who rely on headings to navigate content.
|
|
|
+- `empty-table-header`: Table header text should not be empty
|
|
|
+- `frame-title`: `<iframe>` elements must always have a text label.
|
|
|
- `heading-order`: This rule checks for incorrect heading order. Headings should be ordered in a logical and consistent manner, with the main heading (h1) followed by subheadings (h2, h3, etc.).
|
|
|
+- `input-button-name`: `<input>` button elements must always have a text label.
|
|
|
+- `link-name`: `<a>` link elements must always have a text label.
|
|
|
+- `p-as-heading`: This rule checks for paragraphs that are styled as headings. Paragraphs should not be styled as headings, as this can cause confusion for users who rely on headings to navigate content.
|
|
|
|
|
|
### wagtail-accessibility
|
|
|
|