Emoji come in handy for a whole host of reasons, especially on Slack. The role="img" attribute and the element are added so that your icons are correctly accessible.Can you remember a technological life without emoji? We can't, either. You should include the titleAccess prop with a meaningful value. The aria-hidden=true attribute is added so that your icons are properly accessible (invisible). If your icons are purely decorative, you're already done! This includes icons without text next to them that are used as interactive controls - buttons, form elements, toggles, etc.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |