Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does google index aria attributes? [closed]

I need to be sure that the cell content will be indexed by Google (and other search engines) with the label. In my case I can't put label directly in td tag

html:

<td><a href="#" aria-label="prof. ">Jan Kowalski</a></td>

css:

a:before {
    content: attr(aria-label);
}

How this cell will be indexed by google? only 'Jan Kowalski' or maybe 'prof. Jan Kowalski'?

like image 844
Maciej Płocki Avatar asked May 08 '14 15:05

Maciej Płocki


People also ask

Does Google read aria-label?

Save this answer. Show activity on this post. At the moment of writing this answer, there's no evidence of search engines (specially Google crawler) paying attention to ARIA attributes for HTML. ARIA attributes are not designed for SEO purposes, but for making HTML documents (or web applications) more accessible.

Is aria good for SEO?

Using aria attributes allows you to specify the role of an element to web robots. It is also good practice for screen readers and for SEO.

What is the difference between the aria-label and aria Labelledby attributes?

aria-describedby is used to reference longer content that provides a description. If there is no element in the DOM that provides a brief label appropriate for an accessible name for an interactive element, use aria-label to define the accessible name for an interactive element.


1 Answers

There is no evidence of search engines paying any attention to ARIA attributes. They are not meant for such use but for making application-like HTML documents more accessible. In particular, aria-label associates an “accessible name” for an “object”, which is expected to be interactive, such as a button, and the “accessible name” suggests what the button or other element does.

So it is very unrealistic to expect that search engines extract information from such attributes. They index textual content, though they may additionally index some data in some meta tags or selected attributes, mainly alt and title.

like image 80
Jukka K. Korpela Avatar answered Sep 21 '22 23:09

Jukka K. Korpela