Skip to content

Commit

Permalink
Deprecate the accessible-emoji rule
Browse files Browse the repository at this point in the history
  • Loading branch information
jessebeach committed Jun 22, 2020
1 parent d4dfccb commit dac6864
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/accessible-emoji.md
Original file line number Diff line number Diff line change
@@ -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 `<span>`, 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.

Expand Down
1 change: 1 addition & 0 deletions src/rules/accessible-emoji.js
Original file line number Diff line number Diff line change
Expand Up @@ -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],
},

Expand Down

0 comments on commit dac6864

Please sign in to comment.