<< Back to Accessibility Home Page

Proposed AT-SPI Attribute Support

Attribute name Attribute description Document attribute Object attribute Text attribute Default text attribute
W3C-doctype Equivalent to what is specified in the <!DOCTYPE> header Yes
DocURL The location of the current document, including possibly a named anchor jumped to, for example http://www.foo.org#maincontent Yes
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. Yes
id A persistant ID for this object, useful for scripting Yes
tag The markup tag used to create this element Yes
xml-roles The exact ARIA role, Used when a dynamic content accessibility role string is used, it is exposed here. This may provide more information than the AT-SPI role, which is best-fit. In the future, this may be a space or comma delimited list of roles ... hopefully not :) Yes
layout-guess "true" when Gecko's heuristic determines that it is a table that is probably used for layout, not for a data table.
Value not set means it is probably a data table.
Only on ROLE_TABLE
level The heading level Only on ROLE_HEADING currently
language What language is this text in, e.g. en-US Yes Yes Yes
static "true" for list bullet/numbering text or layout-inserted text (such as via CSS pseudo styles :before or :after) Yes Yes
misspelled "true" if it is marked by the inline spell checker for being incorrectly spelled (Note: in most cases a special underlining style will accompany this mark, and the underlining+style should also be exposed as a decoration attribute) Yes
border not sure how best to expose these properties, or whether to (same with outline CSS property)
background-color Background color as u, u, u Yes Yes Yes
color Foreground color as u, u, u Yes Yes Yes
direction rtl or ltr for bidi text Yes Yes
font-family The computed font name Yes Yes
margin-left In pixels Yes
margin-right In pixels Yes
font-size Font size in pixels Yes Yes
font-style italic|oblique Yes Yes
font-weight The computed font weight, as a number Yes Yes
text-align center|right|justify Yes Yes
text-underline-style solid Yes Yes (empty implies none)
text-line-through-style solid Yes Yes (empty implies none)
z-index a number which indicates how low/high an element is Yes