|
|
| (79 intermediate revisions by 3 users not shown) |
| Line 1: |
Line 1: |
| = Proposed AT-API Text Attribute Support =
| | <small>[[Accessibility |<< Back to Accessibility Home Page]]</small> |
|
| |
|
| == Attribute list ==
| | Text attributes are now implemented in Firefox 3.1 |
|
| |
|
| {| summary="Proposed AT-API Text Attribute Support" width="90%" border="1" cellspacing="1" cellpadding="1"
| | This document has been superseded by the official [https://developer.mozilla.org/en/Accessibility/AT-APIs/Gecko/TextAttrs/ text attribute developer docs]. |
| ! Attribute name
| |
| ! Attribute description
| |
| ! Text attribute
| |
| ! Default text attribute
| |
| |-
| |
| | language
| |
| | What language is this text in, e.g. en-US
| |
| | Yes
| |
| | Yes
| |
| |-
| |
| | static
| |
| | "true" for list bullet/numbering text or layout-inserted text (such as via CSS pseudo styles :before or :after)
| |
| | 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)
| |
| | Yes
| |
| |
| |
| |-
| |
| | background-color
| |
| | Background color as u, u, u
| |
| | Yes
| |
| | Yes
| |
| |-
| |
| | color
| |
| | Foreground color as u, u, u
| |
| | Yes
| |
| | Yes
| |
| |-
| |
| | direction
| |
| | rtl or ltr for bidi text
| |
| | Yes
| |
| | Yes
| |
| |-
| |
| | font-family
| |
| | The computed font name
| |
| | Yes
| |
| | Yes
| |
| |-
| |
| | font-size
| |
| | Font size in pixels
| |
| | Yes
| |
| | Yes
| |
| |-
| |
| | font-style
| |
| | normal/italic/oblique
| |
| | Yes
| |
| | Yes
| |
| |-
| |
| | font-weight
| |
| | The computed font weight, as a number
| |
| | Yes
| |
| | Yes
| |
| |-
| |
| | text-align
| |
| | left/center/right/justify
| |
| | Yes
| |
| | Yes
| |
| |-
| |
| | text-underline-style
| |
| | none/solid
| |
| | Yes
| |
| | Yes (empty implies none)
| |
| |-
| |
| | text-line-through-style
| |
| | none/solid
| |
| | Yes
| |
| | Yes (empty implies none)
| |
| |-
| |
| | z-index
| |
| | a number which indicates how low/high an element is
| |
| | Yes
| |
| |
| |
| |}
| |
|
| |
|
| == References ==
| | The original text attribute proposal is available in the [https://wiki.mozilla.org/index.php?title=Accessibility/TextAttributes&action=history history for this page]. |
| | |
| * [http://www.linux-foundation.org/en/Accessibility/IAccessible2/TextAttributes IA2 Text Attributes] - IAccessible2 Text Attributes Documentation
| |