Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi Regina,

At 15:31 24-11-2011, Regina Henschel wrote:
Hi Christophe,

Christophe Strobbe schrieb:
(...)

I come across "IAccessibility2" (...) Such string
resources are used in method SetAccessibleName in
/core/cui/source/tabpages/tpline.cxx

SetAccessibleName is a method that exists in several accessibility APIs,
e.g.
* ATK: atk_object_set_name:
<http://developer.gnome.org/atk/stable/AtkObject.html#atk-object-set-name>
* Java:
<http://download.oracle.com/javase/6/docs/api/javax/accessibility/AccessibleContext.html#setAccessibleName%28java.lang.String%29>

* Microsoft: <http://msdn.microsoft.com/en-us/library/bb776383.aspx>:
"IAccessibleObject::SetAccessibleName method"

So it is a comprehensive concept.


(...) if you are referring
to a list box where an author can choose between different
stroke-linecap styles, I would definitely give those options an
accessible name (e.g. butt cap, round cap and square cap, which I found
in the SVG spec).

Those are already strings, which will be localized. I have no application to test, whether this is sufficient. But I guess it will, because otherwise people would have complained in a lot of other places where list boxes are used.

Just in case you would like to test this: there are two free options on Windows:

* NVDA: an open-source screen reader: <http://www.nvda-project.org/>. (The portable version can be run from a USB key if you don't want to install it.) When testing with a screen reader, you first need to installe the Java Access Bridge: <http://www.oracle.com/technetwork/java/javase/tech/index-jsp-136191.html>.

* The Java Accessibility Utilities, which you can (still) find at <<http://java.sun.com/javase/technologies/accessibility/downloads.jsp>http://java.sun.com/javase/technologies/accessibility/downloads.jsp>. Because LibreOffice on Windows uses the Java Accessibility API, you can these inspection tools. The Java Accessibility Utilities include Java Monitor, Ferret, Monkey and AccessibilityMonitor. To use, for example, Java Monitor, one should go through the following steps:
1. Add the jar files jaccess.jar and jaccess-examples.jar in the CLASSPATH.
2. Modify the file lib/accessibility.properties in the JDKHOME directory to include the following line:
assistive_technologies=JavaMonitor
Note that the README.txt claims that this line should be "AWT.assistive_technologies=JavaMonitor", but this is not correct. 3. When you start LibreOffice (or a pure Java application), Java Monitor will start automatically. For checking accessible name, description, role, value and state(s) in menus, Ferret is the appropriate tool. (Oh, and alway close LibreOffice if you want to close the accessibility utility; if you try to close the accessibility utility first, it will also close LibreOffice.)


I think I postpone this special detail until the rest is finished and there is a product that can be tested in connection with an accessibility application.

OK. And thanks for asking questions about accessibility :-)

Best regards,

Christophe


--
Christophe Strobbe
K.U.Leuven - Dept. of Electrical Engineering - SCD
Research Group on Document Architectures
Kasteelpark Arenberg 10 bus 2442
B-3001 Leuven-Heverlee
BELGIUM
tel: +32 16 32 85 51
http://www.docarch.be/
Twitter: @RabelaisA11y
---
Open source for accessibility: results from the AEGIS project www.aegis-project.eu
---
Please don't invite me to Facebook, Quechup or other "social networks". You may have agreed to their "privacy policy", but I haven't.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.