Accessibility/Attributes: Difference between revisions

Line 6: Line 6:
! Document attribute
! Document attribute
! Object attribute
! Object attribute
! Image attribute
! Text attribute
! Text attribute
! Default text attribute
! Default text attribute
Line 13: Line 12:
| Equivalent to what is specified in the <!DOCTYPE> header
| Equivalent to what is specified in the <!DOCTYPE> header
| Yes
| Yes
|
|  
|  
|  
|  
Line 21: Line 19:
| The location of the current document, including possibly a named anchor jumped to, for example http://www.foo.org#maincontent
| The location of the current document, including possibly a named anchor jumped to, for example http://www.foo.org#maincontent
| Yes
| Yes
|
|  
|  
|  
|  
Line 29: Line 26:
| 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.
| 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
| Yes
|
|  
|  
|  
|  
Line 38: Line 34:
|  
|  
| Yes
| Yes
|
|  
|  
|  
|  
Line 46: Line 41:
|  
|  
| Yes
| Yes
|
|  
|  
|  
|  
Line 54: Line 48:
|  
|  
| Yes
| Yes
|
|  
|  
|  
|  
Line 62: Line 55:
|  
|  
| Only on ROLE_TABLE
| Only on ROLE_TABLE
|
|  
|  
|  
|  
Line 70: Line 62:
|  
|  
| Only on ROLE_HEADING currently
| Only on ROLE_HEADING currently
|
|  
|  
|  
|  
Line 78: Line 69:
| Yes
| Yes
|  
|  
| Yes
| Yes
| Yes
| Yes
| Yes
Line 84: Line 74:
| static
| static
| "true" for list bullet/numbering text or layout-inserted text (such as via CSS pseudo styles :before or :after)
| "true" for list bullet/numbering text or layout-inserted text (such as via CSS pseudo styles :before or :after)
|
|  
|  
| Yes
| Yes
Line 92: Line 81:
| misspelled
| misspelled
| "true" if it is underlined by the inline spell checker for being incorrectly spelled
| "true" if it is underlined by the inline spell checker for being incorrectly spelled
|
|  
|  
|  
|  
Line 100: Line 88:
| border
| border
| not sure how best to expose these properties, or whether to (same with outline CSS property)
| not sure how best to expose these properties, or whether to (same with outline CSS property)
|
|  
|  
|  
|  
Line 106: Line 93:
|
|
|-
|-
| bg-color (OOo) or background-color (CSS)
| background-color
| Background color as hex value #RRGGBB
| Background color as u, u, u
|  
|  
| Yes?
| Yes?
|
| Yes
| Yes
| Yes
| Yes
|-
|-
| fg-color (OOo) or color (CSS)
| color
| Foreground color as hex value #RRGGBB
| Foreground color as u, u, u
|
|  
|  
|  
|  
Line 124: Line 109:
| direction
| direction
| rtl or ltr for bidi text
| rtl or ltr for bidi text
|
|  
|  
|  
|  
Line 130: Line 114:
| Yes
| Yes
|-
|-
| family-name (OOo) or font-family (CSS)
| font-family
| The computed font name
| The computed font name
|
|  
|  
|  
|  
Line 138: Line 121:
| Yes
| Yes
|-
|-
| left-margin (OOo)
| margin-left
| In inches, pixels, what?
| In pixels
|  
|  
| Yes
| Yes
|  
|  
|  
|  
|
|-
|-
| right-margin (OOo)
| margin-right
| In inches, pixels, what?
| In pixels
|  
|  
| Yes  
| Yes  
|  
|  
|
|
|
|-
|-
| size (OOo) or font-size (CSS)
| font-size
| Font size ... in points or what?
| Font size in pixels
|
|  
|  
|  
|  
Line 162: Line 142:
| Yes
| Yes
|-
|-
| style (OOo) or font-style (CSS)
| font-style
| normal|italic|oblique
| normal|italic|oblique
|
|  
|  
|  
|  
Line 170: Line 149:
| Yes
| Yes
|-
|-
| weight (OOo) or font-weight (CSS)
| font-weight
| The computed font weight, as a number (a percent?)
| The computed font weight, as a number
|
|  
|  
|  
|  
Line 178: Line 156:
| Yes
| Yes
|-
|-
| justification (OOo) or text-align (CSS)
| text-align
| left|center|right|justify
| left|center|right|justify
|  
|  
|  
| ?
| Yes
| ?
|
| ?
|
|-
|-
| underline+strikethrough (OOo) or text-decoration (CSS)
| text-decoration
| none|underline|overline|line-through|blink
| none|underline|overline|line-through|blink
|
|  
|  
|  
|  
Line 198: Line 174:
|  
|  
|  
|  
| Yes
| Yes
| Yes
|
|
|}
|}
346

edits