Hi.

The text attributes specification
(http://www.linuxfoundation.org/en/Accessibility/IAccessible2/TextAttributes)
doesn't say explicitly how the font-weight text attribute value is
computed. There are two ways.

1) Value is exactly what web page author specified, i.e. it is CSS 2.1
value casted to integer
2) Value is one of weight values available for the given font
installed on the given operation system

For example, I can see default fonts used in Firefox have two weights
only (normal=400 and bold=700). Every another font weight from CSS 2.1
values list is mapped to these available values.  So in this case the
value of text attribute exposed on accessible for the html:p

<p style="font-weight: 100;">hello</p>

should be 100 or 400?

Alex.
_______________________________________________
Accessibility-ia2 mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2

Reply via email to