Thursday, July 12, 2012

The Role Attribute Module - years in the making

Way back in the olden days when we were developing XHTML Modularization and then XHTML2, the group recognized that there were lots of pieces of XHTML2 that were generally useful and that it should be possible to publish them separately.  The concept was that since these were modules they would be assembled by host language authors as needed, and then at some point pulled together into XHTML2.  Obviously XHTML2 never came to be, but a lot of the pieces did get worked on and pulled into other work (e.g., RDFa, Role, all sorts of stuff in HTML5 although no one will ever admit that).


Today I wanted to talk about the Role Attribute.  This piece of XHTML2 is a deceptively simple attribute.  It's purpose is to help content authors label an element with it's role or roles within a document. Why do elements have roles?  Well  - that's complicated.  First, some (more) history...

Sometimes W3C working groups have face to face meetings.  At one such meeting of the XHTML working group (at the AOL headquarters in Virginia I think) a group member was wearing their liaison hat between the XHTML working group and the group responsible for accessibility.  They REALLY wanted to be able to have sections of the document labeled so that assistive technologies (ATs) could more easily help people with various disabilities use the web more efficiently.  In particular, things like navigation areas, headers, footers, content, sidebars...  and of course controls.  The accessibility liaison thought it was important that we define a base collection of roles, but also that it be possible to dynamically extend that collection of roles easily. The group thought this was a fine idea, and added the role attribute to XHTML2.  The base collection has been modified over time - you can see its current form in the Vocabulary Document.

Fast forward to today.  The W3C has today published the Role Attribute as a Candidate Recommendation.  A lot has happened in the W3C community since we started work on this simple attribute, but the basic form of the Role Attribute and its capabilities has not changed much at all.  There is an attribute named 'role'.  It takes a list of zero or more values.  These values are either pre-defined TERMs (the things in that vocabulary document), a URI, or a CURIE (a CURIE is a compact URI - a concept defined by RDFa Core).  Assistive Technologies can use the values of role, in conjunction with other information from the ARIA Attributes, to more-or-less automatically make pages more accessible. RDFa processors can use the information in role attributes to automatically learn more about the semantics of a page.


This specification is stable now.  The attribute works in all modern user agents now.  It's values are interpreted by many assistive technologies already.  It is already supported by some RDFa processors, with more on the way.  Even though the W3C says people shouldn't rely upon stuff in Candidate Recommendations because they might not be fully cooked yet, I say go for it.  Role works and it can't hurt.  RDFa works well, and is processed by popular search engines like Google and Bing.  Telling the browser (and any Assistive Technologies that might be looking at the browser) what the role of the various parts of your web page isn't just polite, it might help someone use your site more effectively!

218 comments:

«Oldest   ‹Older   201 – 218 of 218
Alice Bryan said...

I had my first outbreaks and was tested back in 2015 for both HSV-1 and HSV-2.  Both my husband and I tested positive for HSV-1 but negative for HSV-2.  Last year I found out my husband was cheating, so I decided to do a retest on all STDS including HSV-1 and HSV-2.  Only difference is that this time I went to a different clinic.  Anyway, I tested positive for HSV-1 which I knew I had but surprisingly HSV-2 as well.  I was so upset and got divorced with my husband.  4 months ago a friend recommended me to an African herbalist , Dr. Kham , I explained my problems to him and he encouraged me that I will be cured.  Then I ordered for his herbal protocol and used it according to his directions. I'm so relieved to say that I've not had even one outbreak and was tested negative by my doctor. I'm feeling great from within.  I truly endorse this product, it really works.  You can contact him by email: dr.khamcaregiver@gmail.com or WhatsApp: +2348159922297 You can Also Visit his website to know more about him at >https://herbal-dr-kham.jimdosite.com or https://dr-kham-herbal-home.webnode.com/ 

Brukkevin said...

Thank you very much for this great post. Deckard Coat

Jobi said...

I was very impressed by this post, this site has always been pleasant news Thank you very much for such an interesting post, and I meet them more often then I visited this site.
Bill Goldberg Harley Davidson Jacket

andrewjackson said...

Our the purpose is to share the reviews about the latest Jackets,Coats and Vests also shre the related Movies,Gaming, Casual,Faux Leather and Leather materials available Cry Baby Jacket

mrbobystone said...

Pretty good post. I have really enjoyed reading your blog posts.Any way Here I am Specialist in Manufacturing of Movies, Gaming, Casual, Faux Leather Jackets, Coats And Vests See Tackma Varsity Jacket

monika love said...

I has suffered for Human papillomavirus HPV) for 2years, I was given some tablets at the hospital but I refused to take it, They said I have to be on it for life so I don't want take a drugs everyday for life. No point in taking medicine everyday when u won't get cure from it and I was advice to seek for natural herbal cure, after some time I found dr onokun is the most trustful herbalist that have herbs to cure wicked symptom's,I emailed dr onokun, for 2weeks been his patient he cured my (HPV) with his herbal. I only used his natural herbs for two weeks it was 100% cure. I'm not (HPV) patient anymore. I'm happy about it i finally got cured out of this mess been in my body for 2years. I also recommend you if you're living with (HPV) or herpes symptoms i also want you to be free contact dr onokun with the email attach to my post. Dronokunherbalcure@gmail.com or website www.Dronokunherbalcure.wordpress.com or facebook: https://www.facebook.com/naturaltreatmentcenter1/

Tamara Barrow said...

I have been suffering from (HERPES SIMPLEX VIRUS) disease for the past four years and had constant pain. During the first year, I had faith in God that i would be healed someday.This disease started circulating all over my body and i have been taking treatment from my doctor, few weeks ago i came on search on the internet if i could get any information concerning the prevention of this disease, on my search i saw a testimony of someone who has been healed from Herpes Simplex Virus by this by Dr voodoo and she also gave the email address of this man and advise anyone to contact him for any kind of problem that he would be of help, so i wrote to Dr voodoo telling him about my (Herpes Virus) he told me not to worry that i was going to be cured!! Though i never believed it,, well after all the procedures and remedy given to me by this man few weeks later i started experiencing changes all over me as the Dr voodoo assured me, after some time i went to my doctor for test and it confirmed that i have be finally healed behold it was TRUE, So friends if anyone have such problem and need help contact Dr voodoo on his email: voodoospelltemple66@gmail.com Add Dr voodoo on whatsApp +2348140120719

Harry jack said...

You can likewise consider an audience as it will compensate the clients who gave their decision in favor of your worker.Minecraft Server List

Unknown said...

Thank you for this content. I will use this in my company www.jeffcityremodelingpros.com. I appreciate it.

Tamara Barrow said...

Hi Friends i am so glad to writing this article today to tell the world how Dr voodoo cured my HSV VIRUS,i have been detected with HSV-1 AND HSV-2 since five years ago, ever since then my life has been in complete bizarre and agony,i have used so many drugs that was prescribed to me by several doctors,but it didn't cure my HSV VIRUS neither did it reduce the pain,until a certain i was checking for solution in the internet,then miraculously came across Dr voodoo the powerful herbalist that cure numerous individuals HSV-1 AND HSV-2 INFECTION,then i contacted his whatsApp number at +2348140120719 or email: voodoospelltemple66@gmail.com i explained everything to him and prepared a cure that cure my HSV-1 AND HSV-2 disease totally after receiving his herbal medicine, so my friends viewers why wait and be suffer when there is someone like Dr voodoo that can cure any disease HIV/ CANCER/ HEPATITIS B VIRUS, you can contact his via : voodoospelltemple66@gmail.com or WHATSAPP +2348140120719

Arel kane said...

First, I want to complement this page administrator for creating this platform for us to express our feelings. Herpes is a serious and recurring disease which can't be cured through drugs or injections by the American doctors but the best way to deal with herpes is by taking natural herbs medicine from DR. ISHIAKU the greatest herbalist doctor in the world and is only few American doctors that know about this herbal medicine from Dr ISHIAKU .. I have read about Dr ISHIAKU the great herbalist doctor from African who can cure disease with his powerful herbal medicine. for the people suffering from the following diseases, Herpes,HIV/Aids, Hepatitis, Diabetes, Hpv, Infections ETC should contact him for his herbal medicine because i am a living testimony and i was cured of herpes. Although, i sent him what he requested and he sent me his medicine through DHL courier delivery company which i took for some weeks and  when I went for the test, i was tested for herpes negative. you can reach him through his email: ishiakuherbalcure@yahoo.com WhatsApp him at +2348180828544  

eddielydon said...

I really appreciate the kind of topics you post here. Thanks for sharing us a great information that is actually helpful. guardians of the galaxy star lord game jacket

George Mark said...

I read blogs on a similar topic, but I never visited your blog. I added it to favorites and I’ll be your constant reader. Opening Ceremony Varsity Jacket

Jobi Johnson said...

This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post. Last Night in Soho White Coat

Unknown said...

There is a great herbal man called Dr voodoo who can cure Hepatitis B virus and other deadly diseases with the use of natural herbs to cure Hepatitis B virus problems. He is from Africa and he is a great doctor and he can also cure you as well if you are have the problem And other deadly disease and here is email address voodoospelltemple66@gmail.com or Whatsapp +2348140120719 HERPES CURE,CANCER CURE,HIV/AIDS CURE,HPV CURE

Mr. Abe said...

This was great blog. Thank you.
dryer vent cleaning

Carla said...

One of the main reasons to hire professional roofers is their experience. These roofers have the knowledge to complete the job correctly and have the proper tools for any roofing task. - Boise Roofing Contractors

You can also visit our friends at:
Roofing Contractors Boise
Boise Roofers

Angel17 said...

Such a nice read. It is so interesting! https://www.appliancerepair-kitchener.ca

«Oldest ‹Older   201 – 218 of 218   Newer› Newest»