test-a11y-js 0.5.5 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -138,7 +138,7 @@ interface A11yResults {
138
138
 
139
139
  ## ESLint Rules
140
140
 
141
- The plugin provides 6 accessibility rules:
141
+ The plugin provides 13 accessibility rules:
142
142
 
143
143
  - `test-a11y-js/image-alt` - Enforce images have alt attributes
144
144
  - `test-a11y-js/button-label` - Enforce buttons have labels
@@ -146,6 +146,13 @@ The plugin provides 6 accessibility rules:
146
146
  - `test-a11y-js/form-label` - Enforce form controls have labels
147
147
  - `test-a11y-js/heading-order` - Enforce proper heading hierarchy
148
148
  - `test-a11y-js/iframe-title` - Enforce iframes have title attributes
149
+ - `test-a11y-js/fieldset-legend` - Enforce fieldsets have legend elements
150
+ - `test-a11y-js/table-structure` - Enforce tables have proper structure (caption, headers, scope)
151
+ - `test-a11y-js/details-summary` - Enforce details elements have summary as first child
152
+ - `test-a11y-js/video-captions` - Enforce video elements have caption tracks
153
+ - `test-a11y-js/audio-captions` - Enforce audio elements have tracks or transcripts
154
+ - `test-a11y-js/landmark-roles` - Enforce proper use of landmark elements (nav, main, header, footer, aside, section, article)
155
+ - `test-a11y-js/dialog-modal` - Enforce dialog elements have proper accessibility attributes
149
156
 
150
157
  See [`src/checks.json`](./src/checks.json) for a complete list of supported elements, ARIA attributes, and rules (including what's not yet supported).
151
158