Skip to content

Commit 71819a0

Browse files
rdelaljharb
authored andcommitted
[Docs] accessible-emoji: plural of emoji is emoji
https://www.poynter.org/news/ap-stylebook-update-multiple-emoji-are-emoji <span role="img" aria-label="Sheep Fish">🐑🐟</span> modified: docs/rules/accessible-emoji.md Emojis have become a common way… to Emoji have become a common way…
1 parent 4a0608b commit 71819a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/rules/accessible-emoji.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# accessible-emoji
22

3-
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 `<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.
3+
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

55
#### Resources
66
1. [Léonie Watson](http://tink.uk/accessible-emoji/)
@@ -13,7 +13,7 @@ This rule takes no arguments.
1313
```jsx
1414
<span role="img" aria-label="Snowman">&#9731;</span>
1515
<span role="img" aria-label="Panda">🐼</span>
16-
<span role="img" aria-labelledby="panda1">🐼</span>
16+
<span role="img" aria-labelledby="panda1">🐼</span>
1717
```
1818

1919
### Fail

0 commit comments

Comments
 (0)