Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

AT-SPI Document Attributes

 

« AT APIs Support Page

Introduction

You can obtain document attributes by Document::getAttributes method.

Document Attributes List

W3C-doctype
Equivalent to what is specified in the <!DOCTYPE> header. This attribute cannot change for the lifetime of a document.
DocURL
The location of the current document, including possibly a named anchor jumped to, for example http://www.mozilla.org#maincontent. The document:attributes-changed event is fired if the DocURL changes due to a named anchor jump.
MimeType
The mime or media type, such as text/plain, text/html, image/jpeg, image/svg+xml, application/xml+xhtml and application/vnd.mozilla.xul+xml. This attribute cannot change for the lifetime of a document.

Document Tags and Contributors

 Contributors to this page: bunnybooboo, Sheppy, Surkov.alexander
 Last updated by: bunnybooboo,