編集(管理者用) | 編集 | 差分 | 新規作成 | 一覧 | RSS | 表紙 | 検索 | 更新履歴

XHTMLRoleAttributeModule

XHTML Role Attribute Moduleを理解するために訳してみる試みです。

1.Introduction

This document is the first of a series of XHTML modules designed to be used to help extend the scope of XHTML-family markup languages into new environments. It has been developed in conjunction with the accessibility community and other groups to make it easier to describe the semantic meaning of XHTML-family document content.

この文書は、XHTMLファミリマークアップ言語の領域を新しい環境に広げるのを助けるために使われるよう設計された、XHTMLモジュールシリーズの第1作です。 XHTMLファミリ文書の内容の意味論的な意味について説明するのをより容易にするために、アクセシビリティコミュニティや他のグループと共に開発されています。

Note that this work was originally done as part of the [XHTML2] activity. It is being released in a separate, stand-alone module in order to speed its adoption and ease the migration to XHTML 2 when that is released.

註: この仕事は元々[XHTML2]の活動の一部でした。 それは、XHTML2がリリースされる際に、採用を促進し、XHTML 2への移行を緩和するために、分離独立したモジュールとしてリリースされています。

2.Conformance Requirements

The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119].

この文書において、"MUST"、"MUST NOT"、"REQUIRED"、"SHALL"、"SHALL NOT"、"SHOULD"、"RECOMMENDED"、"MAY"そして"OPTIONAL"というキーワードは、[RFC2119]で説明されるように解釈されます。

2.1.Document Conformance

XHTML Role Attribute Module is not a stand-alone document type. It is intended to be integrated into other host languages such as XHTML. A conforming XHTML Role Attribute Module document is a document that requires only the facilities described as mandatory in this specification and the facilities described as mandatory in its host language. Such a document MUST meet all the following criteria:

XHTML Role Attribute Moduleは独立した文書型ではありません。XHTMLのような他のホスト言語と統合されることが意図されます。 適合XHTML Role Attribute Module文書は、この仕様で義務的であると記述された装備と、ホスト言語で義務的であると記述された装備のみを必要とする文書です。そのような文書は以下のすべての評価基準を満たさなければなりません(MUST):

  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >

2.2.Host Language Conformance

When the XHTML Role Attribute Module is included in a host language, all of the facilities required in this specification MUST be included in the host language. In addition, the attribute defined in this specification MUST be included in the content model of the host language.

XHTML Role Attribute Moduleがホスト言語に含まれているとき、ホスト言語にこの仕様で必要である装備のすべてを含まなければなりません(MUST)。 さらに、この仕様で定義された属性がホスト言語の内容モデルに含まていなければなりません(MUST)。

2.3.User Agent Conformance

A conforming user agent must support all of the features required in this specification.

適合ユーザエージェントは、この仕様で要求された特徴のすべてをサポートしなければなりません。

3.The XHTML Role Attribute

This specification defines the XHTML Role Attribute Module. The XHTML Role Attribute Module uses the XML namespace [XMLNAMES] identifier http://www.w3.org/1999/xhtml.

この仕様はXHTML Role Attribute Moduleを定義します。 XHTML Role Attribute ModuleはXML名前空間[XMLNAMES]の識別子 http://www.w3.org/1999/xhtml を使用します。

The role attribute takes as its value one or more white-space separated QNames. The attribute describes the role(s) the current element plays in the context of the document. It is used by applications and assistive technologies to determine the purpose of UI widgets. In the case of a web page it may be declarative as a function of particular elements or it may be an attribute which is configurable by the page author. Additionally, role information may be used to define each action which may be performed on an element. This allows a user to make informed decisions on which actions may be taken on an element and activate the selected action in a device independent way.

role属性は1つまたは空白で区切られた複数のQNameを値に取ります。 属性は目下の要素が文書の文脈において果たす役割について説明します。 それはアプリケーションと、UI部品の目的を決定するための補助技術によって使用されます。 1つのウェブページの場合では、それは特定の要素の機能として宣言されるものかもしれません。或いは、それはページ作者によって構成可能な属性であるかもしれません。 さらに、役割の情報は、要素において実行され得るそれぞれの動作を定義するのに使用されるかもしれません。 これは、要素において行われ得る動作について情報を得た上で決定し、装置の独立した方法で選択された動作を行うことをユーザに許します。

  <ul role="navigation wai:sitemap">
      <li href="downloads">Downloads</li>
      <li href="docs">Documentation</li>
      <li href="news">News</li>
  </ul>

It is possible to define additional role values. Such values MUST be defined in their own namespace. Note that current best practice is that the URI associated with that namespace resolve to a resource that allows for the discovery of the definition of the roles in the namespace. Example definitions include the RDF Schema for the XHTML role attribute values in Appendix B, and the Web Accessibility Initiative's work on an RDF Taxonomy [WAIRDF].

追加の役割の値を定義することも可能です。 そのような値は、それら自身の名前空間で定義されなければなりません(MUST)。 註: 現在の最も良い習慣は、その名前空間に関連したURIが、その名前空間における役割の定義の発見を与える資源に解決されるということです。 定義の例は、Appendix BにあるXHTML role属性の値のためのRDFスキーマ、およびRDF TaxonomyにおけるWeb Accessibility Initiativeの仕事[WAIRDF]を含んでいます。

Authors may use the following relationship names, listed here with their conventional interpretations. User agents, search engines, etc. may interpret these relationships in a variety of ways. For example, user agents may provide access to linked documents through a navigation bar.

作者は、従来の解釈で記載された、以下の関係名を使用するかもしれません。 ユーザエージェント、サーチエンジンなどはさまざまな方法でこれらの関係を解釈するかもしれません。 例えば、ユーザエージェントはナビゲーションバーを通してリンクされた文書へのアクセスを提供するかもしれません。

The following attribute values are designed to define pertinent parts of a document for the purpose of accessibility. User agents may incorporate device equivalents, such as key mappings in the case of a desktop user agent, to navigate to these sections of a document.

以下の属性値は、アクセシビリティの目的のために文書の適切な部分を定義するように設計されます。 ユーザエージェントは、文書内のこれらの区分へ誘導するために、デスクトップユーザエージェントの場合におけるキーマッピングのような、装置と等価な物を組み込むかもしれません。

main
This defines the main content of a document.
main
これは文書の主要内容を定義します。
secondary
This is any unique section of the document. In the case of a portal, this may include but not be limited to: show times; current weather; or stocks to watch.
secondary
これは文書中のあらゆるユニークな部分です。ポータルの場合では、以下のものを含むかもしれません: 時間の表示、現在の天気、見るべき株。しかしこれらに限りません。
navigation
This is the navigation bar on a web document. This is typically a list of links to other pages on the site or other areas of the same document.
navigation
これはウェブ文書上のナビゲーションバーです。 通常、これは同文書の他の領域か、サイトの他のページへのリンクのリストです。
banner
A banner is usually defined as the advertisement at the top of a web page. The banner content typically contains the site or company logo and other key advertisements for the site.
banner
バナーは、通常、ウェブページの先頭にある広告と定義されます。 バナー内容は、サイトまたは会社のロゴ、そしてサイトのための他の主要な広告を通常含んでいます。
contentinfo
This is information about the content on the page. For example, footnotes, copyrights, links to privacy statements, etc. would belong here.
contentinfo
これはページの内容に関する情報です。 例えば、脚注、著作権、プライバシー声明へのリンクなどはここに属するでしょう。
note
The content is parenthetic or ancillary to the main content of the resource.
note
この内容は、リソースの主な内容に挿入句的であるか、または補助的なものです。
seealso
Indicates that the element contains content that is related to the main content of the page.
seealso
この要素が、ページの主な内容に関連した内容を含むことを示します。
search
This is the search section of a web document. This is typically a form used to submit search requests about the site or a more general Internet wide search service.
search
これはウェブ文書の検索部分です。 これは通常、サイトや、より一般的なインターネットサーチサービスに対して検索要求を提出するのに使用されるフォームです。