Results 1 to 2 of 2

Thread: What is the role attribute found in WordPress 2.8.5?

Hybrid View

  1. #1

    What is the role attribute found in WordPress 2.8.5?

    The Kubrick custom theme in WordPress 2.8.5 contains a scattering of a new attribute that I have not seen before. Does anyone know what the "role" attribute is supposed to do?

    Here are a few examples from the sidebar.php theme script.

    <div id="sidebar" role="complementary">
    <ul role="navigation">
    "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote." -- Benjamin Franklin

  2. #2
    The attribute describes the role(s) the current element plays in the context of the document. This can be used, for example, by applications and assistive technologies to determine the purpose of an element. This could allow a user to make informed decisions on which actions may be taken on an element and activate the selected action in a device independent way. It could also be used as a mechanism for annotating portions of a document in a domain specific way (e.g., a legal term taxonomy).
    Source and More Information - XHTML Role Attribute | W3.Org

Similar Threads

  1. Useful Forum list with fast index and dofollow attribute
    By markwright in forum Forum Marketing
    Replies: 14
    Last Post: 5 November, 2012, 11:40 AM
  2. spammer found
    By GrilledChicked in forum Web Proxies
    Replies: 2
    Last Post: 19 October, 2010, 19:16 PM
  3. Role of No-Follow Links in SERP ?
    By jakki in forum Promoting
    Replies: 8
    Last Post: 12 April, 2010, 00:25 AM
  4. Replies: 7
    Last Post: 13 January, 2009, 17:11 PM
  5. Whos your role model
    By sam in forum General Chat
    Replies: 6
    Last Post: 16 December, 2008, 07:11 AM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts