diff --git a/docs/accessible-emoji.md b/docs/accessible-emoji.md deleted file mode 100644 index 30bed5e1..00000000 --- a/docs/accessible-emoji.md +++ /dev/null @@ -1,26 +0,0 @@ -# [Deprecated] accessible-emoji - -Emojis have become a common way of communicating content to the end user. To a person using a screenreader, however, he/she may not be aware that this content is there at all. By wrapping the emoji in a ``, giving it the `role="img"`, and providing a useful description in `aria-label`, the screenreader will treat the emoji as an image in the accessibility tree with an accessible name for the end user. - -_Resources:_ - -1. [Léonie Watson](http://tink.uk/accessible-emoji/) - -## Rule details - -This rule takes no arguments. - -### Succeed - -``` - -🐼 -🐼 -``` - -### Fail - -``` -🐼 -🐼 -``` diff --git a/docs/form-control-has-label.md b/docs/form-control-has-label.md index ad9d50ef..82a03f89 100644 --- a/docs/form-control-has-label.md +++ b/docs/form-control-has-label.md @@ -16,7 +16,8 @@ This rule takes one optional object argument of type object: "vuejs-accessibility/form-control-has-label": [ "error", { - "labelComponents": ["CustomLabel"] + "labelComponents": ["CustomLabel"], + "controlComponents": ["CustomInput"] } ] } @@ -25,6 +26,8 @@ This rule takes one optional object argument of type object: For the `labelComponents` option, these strings determine which elements (**always including** `