서혁님이 새로운 글을 공유했습니다.

Just copy and paste following code snippet — will set attribute aria-hidden="true" for every <i> tag, if it has classname .fa in your HTML code. (Only if it doesn’t have any aria-hidden attribute itself)

Set <aria-hidden=”true”> attribute

Set <aria-hidden=”true”> attribute

for fontawesome icons with JavaScript

Medium