[Accessibility-ia2] text attributes issues

Pete Brunet brunet at us.ibm.com
Fri Dec 12 12:15:02 PST 2008


Thanks Aaron, I'd also appreciate your comments on the following, 
especially the second sub-bullet.

>     * text-position with no offset uses the term "baseline" vs 0. It
>       looks like IA2 should reference the CSS2 vertical-align spec,
>       not the ODF spec.
>           o Do you want to change the name of this attribute to
>             vertical-align?
>           o I propose the value list contain only baseline, sub, and
>             super and not the rest (top, text-top, middle, bottom,
>             text-bottom, <percentage>, <length>, inherit).  I don't
>             think an end user will care about the nuances of exactly
>             how far above or below the baseline the text is.
>           o I propose we drop the existing second parameter in the IA2
>             spec which specifies the size of the font of the
>             sub/subscript.  That can be covered via the font-size
>             attribute.
>           o The default can be baseline.  (It was 0%.)

Pete Brunet
                                                                          
IBM Accessibility Architecture and Development
11501 Burnet Road, MS 9022E004, Austin, TX 78758
Voice: (512) 286-5485, Cell: (512) 689-4155
Ionosphere: WS4G




From:
Aaron Leventhal <aaronlev at moonset.net>
To:
Pete Brunet/Austin/IBM at IBMUS
Cc:
Accessibility-ia2 at lists.freestandards.org, Willie Walker 
<William.Walker at Sun.COM>, Alexander Surkov <surkov.alexander at gmail.com>
Date:
12/12/2008 03:47 AM
Subject:
Re: [Accessibility-ia2] text attributes issues



On 12/9/2008 8:21 AM, Pete Brunet wrote:
>
> Aaron, This is the list of text attributes issues:
>
> Existing entries in Mozilla's bugzilla
>
>     * text-indent and text-align should really be object attributes -
>       https://bugzilla.mozilla.org/show_bug.cgi?id=460932
>
Already fixed in current nightly builds.
>
>     * font-size text attribute should be exposed in pt units -
>       https://bugzilla.mozilla.org/show_bug.cgi?id=467146
>
Not touched yet.
>
>     * IAccessibleText::caretOffset should return -1 if the system
>       caret is not currently with in that particular object -
>       https://bugzilla.mozilla.org/show_bug.cgi?id=448744
>
About to get checked into nightly builds
>
> Other Mozilla issues
>
>     * The Mozilla spec for the language attribute refers to IETF RFC
>       1766 not IETF RFC 3066 (which obsoletes 1766). The Mozilla spec
>       probably needs to be changed.
>     * In the Mozilla spec, font-weight has values of bolder, lighter,
>       and inherit while IA2 doesn't. These probably need to be removed
>       from the Mozilla spec.
>
Marco & Alex, is this something that we just need to correct in our docs 
or also in our code? Our docs at 
https://developer.mozilla.org/en/Accessibility/AT-APIs/Gecko/TextAttrs 
point to the CSS property:

font-weight
    Font size (see CSS |font-weight
    <https://developer.mozilla.org/en/CSS/font-weight>|  property).

>     * auto-generated and writing-mode aren't documented.  You
>       mentioned there were bugs opened for this but I couldn't find
>       the bug numbers.
>
Pete, here are the bugs:
Writing mode: https://bugzilla.mozilla.org/show_bug.cgi?id=454805
Auto generated: https://bugzilla.mozilla.org/show_bug.cgi?id=445516
>
> IA2 issues
>
>     * text-position with no offset uses the term "baseline" vs 0. It
>       looks like IA2 should reference the CSS2 vertical-align spec,
>       not the ODF spec.
>           o Do you want to change the name of this attribute to
>             vertical-align?
>           o I propose the value list contain only baseline, sub, and
>             super and not the rest (top, text-top, middle, bottom,
>             text-bottom, <percentage>, <length>, inherit).  I don't
>             think an end user will care about the nuances of exactly
>             how far above or below the baseline the text is.
>           o I propose we drop the existing second parameter in the IA2
>             spec which specifies the size of the font of the
>             sub/subscript.  That can be covered via the font-size
>             attribute.
>           o The default can be baseline.  (It was 0%.)
>
>
> Other comments
>
>     * In the Mozilla spec, many of the attributes (like font-family,
>       font-style, and font-size) refer to CSS 1, 2.1, and 3 while IA2
>       only refers to CSS 2.  I'd prefer to keep the IA2 spec
>       referencing CSS2 because 2.1 and 3 are not at Recommendation
>       state yet (as far as I can tell).
>
I'd say CSS 2.1 is safe. It's in CR but is accepted and is getting 
implemented.
Sayeth the working group: "There is no doubt that we will still find 
(small) bugs in the specification, but given the type of errors we fixed 
recently, we have reason to believe that the spec is good enough for 
implementers and users alike. We want people to start implementing and 
using CSS 2.1 for real (and tell us about any remaining problems, of 
course)."
>
> I'd appreciate it if Marco could take a look at the two specs and see 
> if he can spot any issues.
>
> Will, I don't know what to say about the Linux spec other than I know 
> there is some pressure from Marco and Aaron to change it.  Are there 
> any issues with using the IA2 spec?  Note that the IA2 spec is mostly 
> based on CSS2, plus one case each of an attribute based on WAI-ARIA 
> and XSL 1.1.  However, there are several attributes based on ODF which 
> are needed to provide access to ODF docs:
>
> text-line-through-mode, text-line-through-style, 
> text-line-through-text, text-line-through-type, 
> text-line-though-width, text-outline, text-shadow, 
> text-underline-mode, text-underline-style, text-underline-type, 
> text-underline-width
>
> I didn't mention text-position because, as mentioned above, I'm 
> proposing that we refer to the CSS vertical-align spec instead of the 
> ODF spec.  (I've also asked the ODF office list why they are using a 
> non-standard attribute when text-position is so close.
>
> *Pete Brunet*
>
> IBM Accessibility Architecture and Development
> 11501 Burnet Road, MS 9022E004, Austin, TX 78758
> Voice: (512) 286-5485, Cell: (512) 689-4155
> Ionosphere: WS4G
> ------------------------------------------------------------------------
>
> _______________________________________________
> Accessibility-ia2 mailing list
> Accessibility-ia2 at lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2
> 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux-foundation.org/pipermail/accessibility-ia2/attachments/20081212/aa636a6c/attachment-0001.htm 


More information about the Accessibility-ia2 mailing list