1. A method of including accessible role and state information in hypertext markup language documents comprising: encoding an accessibility definition that corresponds with an object of a hypertext markup language document into a hypertext markup language class attribute, said accessibility definition comprising role information and corresponding state information if applicable to said role information; and associating a script with said hypertext markup language document, said script configured 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.