IT翻訳 Nobuyuki の仕事部屋

ボランティアでソフトウエアーローカライズのために翻訳をしている。

Accessible DHTML Technology Previewを草稿にする-3

2005-06-17 23:21:29 | InTranslated
じめじめした憂鬱な日が続いています。週末もさえない天気でしょうかね。(・_・、

都に雨のふるごとく、わが心にも涙降る。(;_;)......どこかの国の詩人の詩ですだ。

でも、雨といえば、演歌でしょう、涙、涙、な~み~だ.......(T_T)
雨雨ふれふれもっと降れ、私のいい人連れて来い~♪.......(~o~)

ところで、西洋の雨はカラットしてますね。
Rain drops keep falling on my head♪♪
Singin' in the rain ♯♭

ふむふむ!

今年の雨はまだ序の口、幕下、まだまだ、先はながあめダ~ (・_・; "オイオイ"

By the way, returning to the text........,



原文:Accessible DHTML Technology Preview
アクセシビリティの哲人-Aaron Leventhal
原文:  青色表示
訳文:  黒色表示
注記: 赤色表示

Phase 2: Basic Support for Assistive Technologies

Assistive technology support currently requires a special build and specially marked-up content that uses namespaced attributes to describe each widget. For example, each widget must uses these new DHTML accessibility attributes to specify the role, a commonly known widget type such as menu, slider or progress bar. Each role may support a small number of additional property attributes such as checked, selected, required, invalid and expanded. For example, a checkbox may be specified as:

<(*1span tabindex="0" xhtml2:role="wairole:checkbox" property:checked="true"
onkeydown="return checkBoxEvent(event);"
onclick="return checkBoxEvent(event);")>
Any checkbox label
<(/span)>

*1→"(" と ")" を挿入することで、コードが消えるのの防止しています。ブログのエディターが "<" と ">" を読んでその中のコードを表示しないので... (^_^;

段階 2: 補助技術に対する基本的サポート

補助技術のサポートは現在特別なビルドと、それぞれのウィジェットを説明するのに、名前スペースで指定された属性を使う特別にマークアップされた内容を必用とします。例えば、各々のウィジェットはこれらの新しい DHTML アクセシビリティ属性を使って、メニュ、スライダー、プログレスバーなどの良く知られているウィジェット型のような役割を指定しなければなりません。それぞれの役割は、チェックされた、選択された、要求された、無効である、拡張されたなどの、若干のプロパティー属性の追加をサポートすることが可能です。例えば、チェックボックスは次のように、指定可能です:

<(span tabindex="0" xhtml2:role="wairole:checkbox" property:checked="true"
onkeydown="return checkBoxEvent(event);"
onclick="return checkBoxEvent(event);")>
チェックボックスのラベル
<(/span)>


The above checkbox is custom built, but acts just like a normal checkbox as far as assistive technologies and the user are concerned. It can have any visual appearance the author wishes to code via CSS. Here is a breakdown of the attributes:


上記のチェックボックスはカスタムビルドですが、補助技術とそのユーザに関しては、ただ普通のチェックボックスのように動作します。そして、作者が CSS 経由でコーディングを望む場合のすべての外観を備えることができます。以下に属性の明細を記します:


明細の対訳は、下記のように表を比較しますが、うまく色分けできません(-_-;





Attribute

Meaning
tabindex="0"
Put the <span>-based checkbox in the tab navigation cycle, and allow click-to-focus with the mouse. In contrast, tabindex="-1" would make the element focusable via script and mouse clicks, but not part of the default tab cycle.
xhtml2:role="wairole:checkbox"
Specify that this is a checkbox, so that assistive technologies like screen readers know what it is
property:checked="true"
Checkboxes support the checked property. Properties are also exposed to assistive technologies.
onkeydown="return checkBoxEvent(event);" Allows trapping of the space bar for toggling the checked property. The checkBoxEvent() method is responsible for implementing this, as well as returning false if the event should not continue to be propagated (has been consumed).
onclick="return checkBoxEvent(event);"
This is also necessary, in addition to the keyboard
handler








属性

意味
tabindex="0"
タブの探索サイクルに <span>-ベースのチェックボックスを置き、マウスでクリックすればフォーカスを可能にする (click-to-focus) 。対照的に tabindex="-1" とすれば、スクリプトとマウスクリックによって要素をフォーカス可能にするが、タブサイクルの初期設定にはしない。
xhtml2:role="wairole:checkbox"
チェックボックスであることを指示することで、スクリーンリーダなどの補助技術が役割を知ることになる。
property:checked="true"
チェックボックスは、チェックされたプロパティーをサポートする。プロパティーはまた補助技術に公開される。
onkeydown="return checkBoxEvent(event);" スペースバーのトラップがプロパティーのチェックをトグル切替可能にする。checkBoxEvent() メソッドはこの機能を実装し、かつイベントが伝播を継続しない(イベントが無くなった)場合は偽を返さなければならない。
onclick="return checkBoxEvent(event);"
キーボードハンドラーだけでなく、この機能も必要である。


Please see the provided DHTML samples for futher examples how this markup is used. Firefox implements the mapping from these markup roles and properties to MSAA and ATK, which are the standard accessibility APIs on Windows and Linux. Because the widget information is exposed via standard accessibility APIs, assistive technologies get a large portion of compatibility with these widgets without any new code. The most complete support in screen readers currently requires Window-Eyes 5.5 beta H or later. Screen magnifiers such as ZoomText are also compatible with the new DHTML widgets.


このマークアップの使用方法に関する他のサンプルは DHTML samples に提供されているので、そちらをご参照ください。Windows と Linux の標準的アクセシビリティ API である MSAA と ATK へ、これらのマークアップの役割とプロパティーのマッピングを Firefox は実装します。ウィジェットの情報は標準のアクセシビリティ API 経由で公開されるので、補助技術は、新しくコードを追加しなくともこれらのウィジェットとの互換性を幅広く獲得します。スクリーンリーダにおける最も徹底したサポートを受けるには、現在 Window-Eyes 5.5 ベータ H かそれ以降のバージョンが必須となります。ZoomText などのスクリーン拡大鏡もまた DHTML ウィジェットと互換性を保っています。


IE support is not currently available for the role and properties pieces. IE currently supports only keyboard navigation for these widgets. It is not yet clear whether assistive technology vendors would be able to support DHTML widget semantics without changes in Internet Explorer. There are several reasons for this: first, IE does not support XHTML which is necessary to use the additional namespaces used to set roles and properties on a widget. In addition, it may be necessary for IE to implement the same role and state mapping to MSAA that Firefox has implemented, although it may be possible for ATs to get information via the IE DOM.


役割とプロパティー要素に対して IE は現在サポートしていません。これらのウィジェットをキーボード探索することだけはサポートします。 補助技術のベンダーが Internet Explorer で変更なしに DHTML ウィジェットの意味 (semantics) をサポートできるかどうかまだ明らかになっていません。これにはいくつか理由があります:第一に、ウィジェットに役割とプロパティーを設定するのに使われる追加の名前スペースを使用する必要のある XHTML を IE がサポートしないことです。第二に、補助技術が IE DOM 経由で情報を得ることが可能であるけれども、Firefox が実装しているのと同じ役割とプロパティーを IE は MSAA にマッピングし実装しなければならない可能性のためです。




本日は大変長い節でした。二日分の仕事をした感じです。(^-^;