1.0.1 • Published 5 years ago
a11y-emoji v1.0.1
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>