a11y-emoji
Replace emoji found in any string with an accessible <span>
tag.
npm i -D a11y-emoji
Example
const a11yEmoji = ; ; // <span role="img" aria-label="OK hand">👌</span>
Replace emoji found in any string with an accessible <span>
tag.
npm i -D a11y-emoji
const a11yEmoji = ; ; // <span role="img" aria-label="OK hand">👌</span>
npm i a11y-emoji
2
1.0.1
MIT
2.19 kB
5