Skip to content

Commit 0e58f39

Browse files
authored
Merge branch 'master' into 656-fix
2 parents d187a6c + e5f6772 commit 0e58f39

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

__tests__/src/rules/interactive-supports-focus-test.js

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ const alwaysValid = [
111111
{ code: '<div role="radio" tabIndex="0" onClick={() => void 0} />' },
112112
{ code: '<div role="spinbutton" tabIndex="0" onClick={() => void 0} />' },
113113
{ code: '<div role="switch" tabIndex="0" onClick={() => void 0} />' },
114+
{ code: '<div role="tablist" tabIndex="0" onClick={() => void 0} />' },
114115
{ code: '<div role="tab" tabIndex="0" onClick={() => void 0} />' },
115116
{ code: '<div role="textbox" tabIndex="0" onClick={() => void 0} />' },
116117
{ code: '<div role="textbox" aria-disabled="true" onClick={() => void 0} />' },

docs/rules/accessible-emoji.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# accessible-emoji
1+
# [Deprecated] accessible-emoji
22

33
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.
44

src/rules/accessible-emoji.js

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ module.exports = {
2121
docs: {
2222
url: 'https://github.com/evcohen/eslint-plugin-jsx-a11y/tree/master/docs/rules/accessible-emoji.md',
2323
},
24+
deprecated: true,
2425
schema: [schema],
2526
},
2627

0 commit comments

Comments
 (0)