a11y-emoji
v1.0.1
Published
Replace emoji with an accessible <span> tag.
Downloads
2
Readme
a11y-emoji
Replace emoji found in any string with an accessible <span>
tag.
npm i -D a11y-emoji
Example
const a11yEmoji = require('a11y-emoji');
a11yEmoji('👌');
// <span role="img" aria-label="OK hand">👌</span>