Skip to content

Commit c156644

Browse files
ismail-syedbeefancohen
authored andcommitted
Add missing README.md doc for media-has-caption (#237)
1 parent c16fa00 commit c156644

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ You can also enable all the recommended rules at once. Add `plugin:jsx-a11y/reco
109109
- [interactive-supports-focus](docs/rules/interactive-supports-focus.md): Enforce that elements with interactive handlers like `onClick` must be focusable.
110110
- [label-has-for](docs/rules/label-has-for.md): Enforce that `<label>` elements have the `htmlFor` prop.
111111
- [lang](docs/rules/lang.md): Enforce lang attribute has a valid value.
112+
- [media-has-caption](docs/rules/media-has-caption.md): Enforces that `<audio>` and `<video>` elements must have a `<track>` for captions.
112113
- [mouse-events-have-key-events](docs/rules/mouse-events-have-key-events.md): Enforce that `onMouseOver`/`onMouseOut` are accompanied by `onFocus`/`onBlur` for keyboard-only users.
113114
- [no-access-key](docs/rules/no-access-key.md): Enforce that the `accessKey` prop is not used on any element to avoid complications with keyboard commands used by a screenreader.
114115
- [no-autofocus](docs/rules/no-autofocus.md): Enforce autoFocus prop is not used.

0 commit comments

Comments
 (0)