diff --git a/docs/rules/accessible-emoji.md b/docs/rules/accessible-emoji.md index ba55f4e04..f8920250a 100644 --- a/docs/rules/accessible-emoji.md +++ b/docs/rules/accessible-emoji.md @@ -1,4 +1,4 @@ -# accessible-emoji +# [Deprecated] accessible-emoji Emoji 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. diff --git a/src/rules/accessible-emoji.js b/src/rules/accessible-emoji.js index 26d329e9a..e74d8cce0 100644 --- a/src/rules/accessible-emoji.js +++ b/src/rules/accessible-emoji.js @@ -21,6 +21,7 @@ module.exports = { docs: { url: 'https://github.com/evcohen/eslint-plugin-jsx-a11y/tree/master/docs/rules/accessible-emoji.md', }, + deprecated: true, schema: [schema], },