lighthouse - How To Make Font Awesome Elements Have Discernable Names? -


bonjour,

trying solve audit point of discernable names of font awesome icons/elements using lighthouse dont't know how answer challenge : how make font awesome elements have discernable names ?

the actual result in lighthouse ask "elements have discernable names"

here basic code

<a href="https://twitter.com/blablabla"><i class="fa fa-twitter black"></i></a> 

best regards

j.

add aria-label property pass audit.

<a href="https://twitter.com/blablabla" aria-label="twitter"><i class="fa fa-twitter black"></i></a> 

more information aria-label can found @ https://dev.opera.com/articles/ux-accessibility-aria-label/#accessible-name-calculation


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -