From b89e8c0b3dbfeac992dc9420c2cb0cba096fe15c Mon Sep 17 00:00:00 2001 From: "mka_882@yahoo.com" Date: Thu, 2 Dec 2021 09:17:08 +0300 Subject: [PATCH] Add documentation --- site/content/docs/05-accessibility-warnings.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/site/content/docs/05-accessibility-warnings.md b/site/content/docs/05-accessibility-warnings.md index 149603dcf97a..c063e7edcd84 100644 --- a/site/content/docs/05-accessibility-warnings.md +++ b/site/content/docs/05-accessibility-warnings.md @@ -87,6 +87,18 @@ Enforce img alt attribute does not contain the word image, picture, or photo. Sc --- +### `a11y-incorrect-aria-attribute-type` + +Enforce that only the correct type of value is used for aria attributes. For example, `aria-hidden` +should only receive a boolean or `undefined`. + +```sv + +
+``` + +--- + ### `a11y-invalid-attribute` Enforce that attributes important for accessibility have a valid value. For example, `href` should not be empty, `'#'`, or `javascript:`.