What is the purpose of the role attribute in HTML

0 votes
s this role attribute necessary?

Is this attribute better for semantics?

Does it improve SEO?
Feb 26 in Others by Kichu
• 19,040 points
68 views

1 answer to this question.

0 votes

roles were initially defined by XHTML but were deprecated. However, they are now defined by HTML 5, see here: https://www.w3.org/WAI/PF/aria/roles#abstract_roles_header  The role attribute is necessary to support Accessible Rich Internet Applications (WAI-ARIA) to define roles in XML-based languages, when the languages do not define their own role attribute.Although this is the reason the role attribute is published by the Protocols and Formats Working Group, the attribute has more general use cases as well.

Keep in mind that the attribute is necessery 

answered Feb 27 by narikkadan
• 37,660 points

Related Questions In Others

0 votes
0 answers

What is the meaning of ~. in R?

Would like to understand the meaning of ~. in ...READ MORE

Jun 1 in Others by avinash
• 1,840 points
49 views
0 votes
1 answer

Where is the documentation to refer for coinbase api integration of Etherium coin currency in php?

Hey there! Please refer to the following ...READ MORE

answered Jan 25, 2019 in Others by Omkar
• 69,210 points
319 views
0 votes
1 answer

What sort of testing is involved in functional testing?

The following types of testing are involved ...READ MORE

answered Feb 18, 2019 in Others by Jobin
261 views
+4 votes
0 answers

What is the best way to pass CISSP Exam In first attempt?

Is CISSP Certification Worth. And What is ...READ MORE

Jun 25, 2019 in Others by Eric
• 310 points
675 views
0 votes
1 answer

What are the important meta tags I must put in my website? [closed]

Regular meta info <title>{{pageTitle}}</title> <meta charset="utf-8"><!-- html5 version ...READ MORE

answered Feb 11 in Others by narikkadan
• 37,660 points
75 views
0 votes
2 answers

What is most SEO optimized image HTML code for?

What is most SEO optimized image HTML ...READ MORE

answered Feb 12 in Others by gdxxfgoidt
481 views
0 votes
0 answers

SEO META Tags - HTML

i have registered my sited with google ...READ MORE

Feb 14 in Others by Kichu
• 19,040 points
60 views
0 votes
0 answers

Angular and SEO indexing

app.config(["$routeProvider", function($routeProvider) { $routeProvider .when("/", ...READ MORE

Feb 14 in Others by Kichu
• 19,040 points
39 views
0 votes
1 answer

What is the max length of page titles for SEO?

google displays only 50-60 words of a ...READ MORE

answered Feb 14 in Others by narikkadan
• 37,660 points
62 views
0 votes
1 answer

What is the ideal length of an URL slug

google is very keyword-centric, and words like ...READ MORE

answered Feb 28 in Others by narikkadan
• 37,660 points
137 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP