Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What attribute to use that describes the link's destination for a social media icon set

Tags:

html

Hi I'm getting an error regarding my social icon set links on my website, when I analyze my page for accessibility I get an error that states,

"73 links have no text describing their destination. Links have no text describing their destination. Links on a page should describe their destination for the benefit of both screen readers and search engine spiders. Add meaningful anchor text that describes the link's destination. If the link contains an image, ensure you have provided alt text."

For design purpose I don't want static text displayed, only display the icons. How do I resolve this error. My code below

<ul class="list-inline">
    <li>
        <a href="https://www.facebook.com/" target="_blank"> 
            <i class="livicon" data-name="facebook" data-size="18" data-loop="true" data-c="#ccc" data-hc="#ccc">
            </i>
        </a>
    </li>
</ul>
like image 825
Vasko Avatar asked Apr 23 '16 04:04

Vasko


People also ask

Which attribute indicates the destination of the link?

The rev attribute specifies that the link being defined has its destination in the current document.

What is a link title attribute?

What is the link title attribute? Put simply, the link title attribute gives additional information about the page being linked to. Here's what the W3C has to say about it: The title attribute is used to provide additional information to help clarify or further describe the purpose of a link.

What are the attributes of anchor tag in HTML?

The <a> tag defines a hyperlink, which is used to link from one page to another. The most important attribute of the <a> element is the href attribute, which indicates the link's destination. By default, links will appear as follows in all browsers: An unvisited link is underlined and blue.

What attribute and value can you use to cause an A element to open the link in a new browser tab?

The href attribute set to the URL of the page you want to link to. The target attribute set to _blank , which tells the browser to open the link in a new tab/window, depending on the browser's settings.


1 Answers

it is title attribute title="description" http://www.w3schools.com/tags/att_global_title.asp

like image 177
moveax3 Avatar answered Oct 09 '22 09:10

moveax3