Patent ID: 7895570

Claim:
A method of including accessible role and state information in hypertext markup language documents comprising: receiving a hypertext markup language document, by a user agent executing on a computing device, from a server computer across a network connection, wherein said hypertext markup language document includes: an accessibility definition that corresponds with an object of said hypertext markup language document, which is encoded into a hypertext markup language class attribute, said accessibility definition comprising role information and corresponding state information if applicable to said role information; transforming said received hypertext markup language document by said user agent, wherein said transformation is implemented by: constructing a document object model corresponding to said received hypertext markup document; and associating a script with said hypertext markup language document for: parsing at least a portion of said hypertext markup language document to identify said accessibility definition within said document; and mapping said role information and said state information of said accessibility definition to corresponding namespaced role and state attributes; and rendering the transformed hypertext markup language document into a presentable document that incorporates said object and said corresponding namespaced role and state attributes.