Accessibility/Attributes: Difference between revisions

No edit summary
 
Line 43: Line 43:
|  
|  
| Yes
| Yes
|
|
|
|-
| tag
| The markup tag used to create this element
|
|
| Yes
|
|
|
|-
| xml-roles
| The exact ARIA role, Used when a [http://developer.mozilla.org/en/docs/Accessible_DHTML 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 t :)
|
|
| Yes
|
|
|
|-
| layout-guess
| "true" when Gecko's heuristic determines that it is a table that is probably used for layout, t for table.<br /> Value t set means it is probably a data table.
|
|
| Only on ROLE_TABLE
|
|
|
|-
| level
| The heading level
|
|
| Only on ROLE_HEADING currently
|  
|  
|  
|  
Line 52: Line 88:
| Yes
| Yes
|  
|  
|  
| Yes
| Yes
| Yes
| Yes
| Yes
Line 61: Line 97:
|  
|  
|  
|  
|  
| Yes
| Yes
| Yes
|  
|  
Line 74: Line 110:
|  
|  
|-
|-
| xml-roles
| border
| The exact ARIA role, Used when a [http://developer.mozilla.org/en/docs/Accessible_DHTML 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 t :)
| not sure how best to expose these properties, or whether to (same with outline CSS property)
|
|
|
|
|
|
|-
| background-color
| Foreground color as hex value #RRGGBB
|
|
| Yes?
|
| Yes
| Yes
|-
| color
| Foreground color as hex value #RRGGBB
|
|
|
|
| Yes
| Yes
|-
| direction
| rtl or ltf for bidi text
|
|
|
|
| Yes
| Yes
|-
| font-family
| The computed font name
|
|
|
|
| Yes
| Yes
|-
| font-size
| Font size ... in em's or what?
|
|
|
|
| Yes
| Yes
|-
| font-style
| normal|italic|oblique
|
|
|
|
| Yes
| Yes
|-
| font-weight
| The computed font weight, as a number (a percent?)
|
|
|  
|  
|  
|  
| Yes
| Yes
| Yes
|-
| text-align
| left|center|right|inherit|justify
|
|  
|  
|  
|  
| Yes
|  
|  
|
|-
|-
| layout-guess
| text-align
| "true" when Gecko's heuristic determines that it is a table that is probably used for layout, t for table.<br /> Value t set means it is probably a data table.
| left|center|right|justify
|
|
|
| Yes
|  
|  
|
|-
| text-decoration
| none|underline|overline|line-through|blink
|  
|  
| Only on ROLE_TABLE
|  
|  
|  
|  
|  
|  
| Yes
|
|-
|-
| level
| text-decoration
| The heading level
| none|underline|overline|line-through|blink
|
|  
|  
|  
|  
|  
| Only on ROLE_HEADING currently
| Yes
|
|-
| z-index
| a number which indicates how low/high an element is
|  
|  
|  
|  
|  
|  
| Yes
| Yes
|
|}
|}
346

edits