Accessibility of web content requires semantic information about widgets, structures, and behaviors, in order to allow assistive technology to convey appropriate information to persons with disabilities. การเข้าใช้ของเนื้อหาเว็บไซต์ต้องการข้อมูลเกี่ยวกับความหมายของคำเครื่องมือโครงสร้างและพฤติกรรมในเพื่อให้ assistive เทคโนโลยีเพื่อให้ข้อมูลเหมาะสมกับคนพิการ. This specification provides an ontology of roles, states, and properties that define accessible user interface elements and can be used to improve the accessibility and interoperability of web content and applications. ข้อกำหนดนี้ให้ ontology บทบาทของ, รัฐและคุณสมบัติที่กําหนดสามารถเข้าถึงผู้ใช้องค์ประกอบและสามารถนำไปใช้เพื่อปรับปรุงการเข้าถึงและกันของเนื้อหาเว็บไซต์และโปรแกรม. These semantics are designed to allow an author to properly convey user interface behaviors and structural information in document-level markup, to an assistive technology. อรรถศาสตร์เหล่านี้ได้รับการออกแบบมาเพื่อให้ผู้เขียนให้เหมาะสมกระเตงอินเตอร์เฟซผู้ใช้พฤติกรรมและโครงสร้างข้อมูลในเอกสารระดับมาร์คเพื่อการ assistive เทคโนโลยี. This document is part of the WAI-ARIA suite described in the WAI-ARIA Overview . เอกสารนี้เป็นส่วนหนึ่งของ ไหว้-ARIA ชุดอธิบายไว้ใน ไหว้-ARIA ภาพรวม.
Status of this Document สถานะของเอกสารนี้
This section describes the status of this document at the time of its publication. ส่วนนี้จะอธิบายสถานะของเอกสารนี้ในขณะที่ของสิ่งพิมพ์. Other documents may supersede this document. เอกสารอื่นๆอาจแทนที่เอกสารนี้. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at http://www.w3.org/TR/. รายการปัจจุบัน W3C สิ่งพิมพ์และแก้ไขล่าสุดเทคนิครายงานนี้สามารถพบได้ใน W3C เทคนิครายงานดัชนี ที่ http://www.w3.org/TR/.
This document is a Last Call Working Draft by the Protocols & Formats Working Group of the Web Accessibility Initiative . เอกสารนี้เป็น ครั้งสุดท้ายโทรทำงานแบบร่าง โดย โปรโตคอล และ รูปแบบการทำงานกลุ่ม ของ เว็บเข้าถึงแนวคิดริเริ่ม. This version includes minor changes to the WAI-ARIA taxonomy since the previous version. รุ่นนี้รวมถึงการเปลี่ยนแปลงไปยังผู้เยาว์ไหว้-ARIA อนุกรมวิธานเนื่องจากรุ่นก่อนหน้า.
In order to make user agent response to WAI-ARIA clear, this document is supported by the new companion document, WAI-ARIA User Agent Implementation Guide [ ARIA-IMPLEMENTATION ], and some content has been moved into this document. เพื่อให้การตอบสนองต่อผู้ใช้ตัวแทนไหว้-ARIA ชัดเจนเอกสารนี้มีการสนับสนุนจากเพื่อนใหม่เอกสาร ไหว้-ARIA ผู้ใช้ตัวแทนดำเนินคู่มือ [ARIA-ดำเนิน], และเนื้อหาบางอย่างถูกย้ายลงในเอกสารนี้. The authoring guide, WAI-ARIA Best Practices [ ARIA-PRACTICES ], has also been updated. การเขียนคู่มือ ไหว้-ARIA วิธีปฏิบัติที่ดีที่สุด [ARIA-หลักปฏิบัติ] ยังได้รับการอัปเดท. Refer to the history of changes to WAI-ARIA for details. อ้างถึง ประวัติความเป็นมาของการเปลี่ยนแปลงที่ไหว้-ARIA เพื่อดูรายละเอียด.
Feedback on the model set out here is important to the success of the Web community in creating accessible Rich Internet Applications. ข้อคิดเห็นในแบบที่กําหนดที่นี่เป็นสิ่งสำคัญต่อความสำเร็จของเว็บชุมชนในการสร้างสามารถเข้าถึงได้สมบูรณ์อินเทอร์เน็ตแอปพลิเคชัน. The PFWG would like to know: ที่ PFWG ต้องการทราบว่า:
Does the role ontology provide the information and operations that people with disabilities need in order to access and operate richly interactive Web applications? ที่ ontology บทบาทให้ข้อมูลและการดำเนินงานที่คนพิการจำเป็นเพื่อให้สามารถเข้าถึงและดำเนินมั่งคั่งโต้ตอบเว็บแอพพลิเคชั่?
Is the usage of roles, states, and properties clear? มีการใช้บทบาท, รัฐและคุณสมบัติชัดเจน?
Is it clear how to create Rich Internet Applications with this added capability? มันชัดเจนถึงวิธีการสร้างสมบูรณ์อินเทอร์เน็ตแอปพลิเคชันนี้เพิ่มความสามารถ?
Are conformance requirements clear, and sufficient but not excessive? มีข้อกำหนด conformance ชัดเจนและเพียงพอแต่ไม่มากเกินไป?
When addressing these questions, please consider them in the context of the companion documents. เมื่อที่คำถามเหล่านี้โปรดพิจารณาพวกเขาในบริบทของเพื่อนเอกสาร. Comments on this document may be sent to public-pfwg-comments@w3.org ( Archive ). ความคิดเห็นในเอกสารฉบับนี้อาจถูกส่งไปยัง public-pfwg-comments@w3.org (ที่เก็บ). Comments requiring discussion should be copied to wai-xtech@w3.org ( Archive ). ความคิดเห็นที่ต้องการสนทนาควรคัดลอกไปยัง wai-xtech@w3.org (ที่เก็บ). Comments should be made by 24 March 2009 . ความคิดเห็นควรทำโดย ที่ 24 มีนาคม 2009. In-progress updates to the document may be viewed in the publicly visible editors' draft . ความคืบหน้าในการอัปเดตไปยังเอกสารอาจจะดูในที่ สาธารณะปรากฏบรรณาธิการ 'ฉบับร่าง.
Publication as a Working Draft does not imply endorsement by the W3C Membership. เอกสารเผยแพร่เป็นฉบับร่างทำงานไม่แบะท่ารับรองจาก W3C สมาชิก. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. นี่คือเอกสารฉบับร่างและอาจมีการอัปเดทโดย obsoleted แทนที่หรือเอกสารอื่นๆเมื่อใดก็ได้. It is inappropriate to cite this document as other than work in progress. เป็นไม่เหมาะสมเพื่ออ้างเอกสารนี้นอกเหนือจากที่ทำงานในก้าวหน้า.
This document was produced by a group operating under the 5 February 2004 W3C Patent Policy . เอกสารนี้ถูกผลิตโดยกลุ่มปฏิบัติการใต้ 5 กุมภาพันธ์ 2004 W3C สิทธิบัตรนโยบาย. W3C maintains a public list of any patent disclosures made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. W3C รักษา สาธารณะรายการสิทธิบัตรใดๆที่เปิดเผย ไว้ในการเชื่อมต่อกับการส่งมอบของกลุ่ม; ที่หน้ารวมทั้งมีคำแนะนำในการเปิดเผยสิทธิบัตร. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) must disclose the information in accordance with section 6 of the W3C Patent Policy . บุคคลที่มีความรู้จริงของสิทธิบัตรซึ่งแต่ละเชื่อประกอบด้วย สำคัญอ้างสิทธิ์ (รายการ) ต้องเปิดเผยข้อมูลตาม ส่วนที่ 6 ของ W3C สิทธิบัตรนโยบาย.
The disclosure obligations of the Participants of this group are described in the charter . การเปิดเผยพันธกรณีของผู้เข้าร่วมกิจกรรมของกลุ่มนี้จะอธิบายไว้ใน กฎบัตร.
Table of Contents สารบัญ
1. Introduction 1. บทนำ
1.1. Scope 1.1. ขอบเขต
1.2. Use Cases 1.2. การใช้กรณี
2. Using WAI-ARIA 2. การใช้ไหว้-ARIA
2.1. WAI-ARIA Roles 2.1. ไหว้-ARIA บทบาท
2.2. WAI-ARIA States and Properties 2.2. ไหว้-ARIA รัฐและคุณสมบัติ
2.3. Managing Focus 2.3. การจัดการโฟกัส
2.4. Building Accessible Applications with WAI-ARIA 2.4. อาคารสามารถเข้าถึงได้ด้วยแอปพลิเคชันไหว้-ARIA
2.5. Example: Building a Tree Widget 2.5. ตัวอย่าง: อาคารต้นไม้เครื่องมือ
3. Normative Requirements 3. Normative ข้อกำหนด
4. The Roles Model 4. บทบาทโมเดล
4.1. Relationships Between Concepts 4.1. ความสัมพันธ์ระหว่างแนวคิด
4.1.1. Parent Roles 4.1.1. ผู้ปกครองบทบาท
4.1.2. Child Roles 4.1.2. เด็กบทบาท
4.1.3. Related Concepts 4.1.3. แนวคิดที่เกี่ยวข้อง
4.1.4. Base Concept 4.1.4. แนวคิดพื้นฐาน
4.2. Characteristics of Roles 4.2. ลักษณะของบทบาท
4.2.1. Abstract Roles 4.2.1. บทคัดย่อบทบาท
4.2.2. Required States and Properties 4.2.2. จำเป็นรัฐและคุณสมบัติ
4.2.3. Supported States and Properties 4.2.3. สนับสนุนรัฐและคุณสมบัติ
4.2.4. Inherited States and Properties 4.2.4. อินเฮอริตรัฐและคุณสมบัติ
4.2.5. Required Child Elements 4.2.5. จำเป็นเด็กองค์ประกอบ
4.2.6. Parent Element 4.2.6. องค์ประกอบของมารดา
4.2.7. Accessible Name Calculation 4.2.7. ชื่อคำนวณสามารถเข้าถึงได้
4.2.8. Presentational Children 4.2.8. Presentational เด็ก
4.3. Categorization of Roles 4.3. การจำแนกประเภทของบทบาท
4.3.1. Base Types 4.3.1. ฐานประเภท
4.3.2. User Input Widgets 4.3.2. ผู้ใช้ป้อนเครื่องมือ
4.3.3. User Interface Elements 4.3.3. องค์ประกอบของอินเตอร์เฟซผู้ใช้
4.3.4. Document Structure 4.3.4. เอกสารโครงสร้าง
4.3.5. Application Structure 4.3.5. สมัครโครงสร้าง
4.3.6. Landmark Roles 4.3.6. ลานหมากบทบาท
4.4. Definition of Roles 4.4. นิยามของบทบาท
5. Supported States and Properties 5. สนับสนุนรัฐและคุณสมบัติ
5.1. Clarification of States versus Properties 5.1. ชี้แจงของรัฐกับคุณสมบัติ
5.2. Characteristics of States and Properties 5.2. ลักษณะของรัฐและคุณสมบัติ
5.2.1. Related Concepts 5.2.1. แนวคิดที่เกี่ยวข้อง
5.2.2. Used in Roles 5.2.2. ใช้ในบทบาท
5.2.3. Inherits into Roles 5.2.3. Inherits เข้าบทบาท
5.2.4. Value 5.2.4. มูลค่า
5.3. Values for States and Properties 5.3. ค่ารัฐและคุณสมบัติ
5.4. Global States and Properties 5.4. ทั่วโลกรัฐและคุณสมบัติ
5.5. Taxonomy of ARIA States and Properties 5.5. อนุกรมวิธานของ ARIA รัฐและคุณสมบัติ
5.5.1. Widget Attributes 5.5.1. เครื่องมือแอททริบิว
5.5.2. Live Region Attributes 5.5.2. สดภูมิภาคแอททริบิว
5.5.3. Drag-and-Drop Attributes 5.5.3. ลากและวางแอททริบิว
5.5.4. Relationship Attributes 5.5.4. ความสัมพันธ์แอททริบิว
5.6. Definitions of States and Properties (all aria-* attributes) 5.6. นิยามและคุณสมบัติของรัฐ (ทุก aria-แอตทริบิวต์ *)
6. Implementation in Host Languages 6. ในการดำเนินโฮสต์ภาษา
6.1. General Requirements for Implementation in Host Languages 6.1. ทั่วไปข้อกำหนดสำหรับการปฏิบัติในโฮสต์ภาษา
6.1.1. Role Attribute 6.1.1. บทบาทคุณสมบัติ
6.1.2. State and Property Attributes 6.1.2. รัฐทรัพย์สินและแอททริบิว
6.1.3. Focus Navigation 6.1.3. โฟกัสการนาวิเกต
6.1.4. Resolving Conflicts with Host Languages 6.1.4. แก้ไขความขัดแย้งกับ HOST ภาษา
6.2. Implementation Using the Modularization Recommendation 6.2. การดำเนินการใช้คำแนะนำ Modularization
7. Conformance 7. Conformance
7.1. Non-interference with the Host Language 7.1. ไม่รบกวนกับโฮสต์ภาษา
7.2. All WAI-ARIA in DOM 7.2. การฉ้อโกง ทั้งหมดไหว้-ARIA ใน DOM
7.3. Web Application Notification of DOM Changes 7.3. เว็บการสมัครแจ้งการเปลี่ยนแปลง DOM
8. Quality Assurance 8. การประกันคุณภาพ
8.1. Applicable WAI-ARIA Role 8.1. ใช้ไหว้-ARIA บทบาท
8.1.1. Requirement is Functional 8.1.1. ต้องการคือการทำงาน
8.1.2. Overview 8.1.2. ภาพรวม
8.1.3. Step-by-Step 8.1.3. ทีละขั้นตอน
8.1.4. Explicit WAI-ARIA Role Rules 8.1.4. ชัดเจนไหว้-ARIA บทบาทกติกา
8.2. Accessibility API Mapping 8.2. การเข้าถึง API การแมป
8.3. Authoring Practices 8.3. การเขียน
8.3.1. Authoring Tools 8.3.1. เขียนเครื่องมือ
8.3.2. Testing Practices and Tools 8.3.2. ปฏิบัติการทดสอบและเครื่องมือ
8.4. Assistive Technology 8.4. Assistive เทคโนโลยี
9. Appendices 9. ภาคผนวก
9.1. Implementations 9.1. Implementations
9.1.1. Roles Implementation 9.1.1. บทบาทดำเนิน
9.1.2. ARIA Attributes Module 9.1.2. ARIA แอททริบิวโมดูล
9.1.3. Sample XHTML plus ARIA DTD 9.1.3. ตัวอย่าง XHTML บวก ARIA DTD
9.1.4. SGML Open Catalog Entry for XHTML+ARIA 9.1.4. SGML เปิดแค็ตตาล็อกรายการสำหรับ XHTML + ARIA
9.1.5. ARIA Attributes XML Schema Module 9.1.5. ARIA แอททริบิว XML ที่คีโมดูล
9.2. Glossary 9.2. อภิธานศัพท์
9.3. References 9.3. อ้างอิง
9.4. Acknowledgments 9.4. Acknowledgments
9.4.1. Participants in the PFWG at the time of publication 9.4.1. ผู้เข้าร่วมใน PFWG ที่เวลาสิ่งพิมพ์
9.4.2. Other previously active PFWG participants and other contributors to the Accessible Rich Internet Applications specification 9.4.2. อื่นๆที่เคยใช้งาน PFWG ร่วมให้ข้อมูลและอื่นๆที่สามารถเข้าถึงสมบูรณ์อินเทอร์เน็ตข้อกำหนดแอปพลิเคชัน
9.4.3. Enabling funders 9.4.3. การเปิดใช้ funders
1. Introduction 1. บทนำ
This section is informative . ส่วนนี้เป็น ข้อมูล.
The domain of web accessibility defines how to make web content usable by persons with disabilities. โดเมนของเว็บเข้าถึงกำหนดวิธีการให้เนื้อหาทางเว็บที่ใช้งานโดยบุคคลพิการ. Persons with certain types of disabilities use assistive technology ( AT ) to interact with content. คนโดยประเภทที่แน่นอนของพิการใช้ assistive เทคโนโลยี (ที่) ดำเนินการโต้ตอบกับเนื้อหา. Assistive technology software can transform the presentation into a format more suitable to the user, and can allow the user to interact in different ways than the author designed. Assistive เทคโนโลยีซอฟต์แวร์สามารถเปลี่ยนงานนำเสนอในรูปแบบอื่นๆที่เหมาะสมกับผู้ใช้และสามารถอนุญาตให้ผู้ใช้ดำเนินการโต้ตอบในลักษณะต่างๆกว่าที่ผู้เขียนได้รับการออกแบบ. In order to accomplish this effectively, the software must understand the semantics of the content. เพื่อให้บรรลุนี้ได้อย่างมีประสิทธิภาพ, ซอฟต์แวร์ต้องเข้าใจอรรถศาสตร์ของเนื้อหา. "Semantics" is the knowledge of roles, states, and properties that apply to content elements as a person would understand them. "อรรถศาสตร์" คือความรู้บทบาท, รัฐและคุณสมบัติที่ใช้กับเนื้อหาองค์ประกอบว่าเป็นบุคคลจะเข้าใจพวกเขา. For instance, if a paragraph is semantically identified as such, assistive technology can interact with it as a unit separable from the rest of the content, knowing the exact boundaries of that paragraph. ตัวอย่างเช่นถ้าย่อหน้าเป็น semantically ระบุว่าเป็นเช่น, เทคโนโลยี assistive สามารถโต้ตอบกับเป็นหน่วยซึ่งแยกจากส่วนที่เหลือของเนื้อหาทราบที่แน่นอนเขตแดนของที่ย่อหน้า. A range slider or collapsible tree widget are more complex examples, in which various parts of the widget have semantics that must be properly identified for the assistive technology to support effective interaction. ช่วงเลื่อนหรือพับต้นไม้ เครื่องมือที่ มีความซับซ้อนตัวอย่างซึ่งในหลายส่วนของเครื่องมือที่มีอรรถศาสตร์ที่ต้องถูกระบุสำหรับ assistive เทคโนโลยีการสนับสนุนที่มีประสิทธิภาพปฏิสัมพันธ์.
New technologies often overlook the semantics required for accessibility, and new authoring practices often misuse the intended semantics of those technologies. Elements that have one defined meaning in the language are used with a different meaning intended to be understood by the user. เทคโนโลยีใหม่ๆมักจะมองข้ามอรรถศาสตร์ที่จำเป็นสำหรับการเข้าถึงและเขียนใหม่ปฏิบัติบ่อยเฆี่ยนตีเจตนาอรรถศาสตร์ของบรรดาเทคโนโลยี. องค์ประกอบ ที่มีความหมายที่กำหนดไว้ในภาษาที่จะมีการใช้งานที่มีความหมายต่างกันเพื่อเข้าใจโดยผู้ใช้.
For example, web application developers create collapsible tree widgets in HTML using CSS and JavaScript even though HTML lacks an appropriate semantic element. ตัวอย่างเช่นแอปพลิเคชันเว็บนักพัฒนาสร้างพับต้นไม้เครื่องมือใน HTML ที่ใช้ CSS และ JavaScript แม้ว่า HTML ที่ lacks ที่เหมาะสมองค์ประกอบความหมายของคำ. To a non-disabled user, it may look and act like a collapsible tree widget, but without appropriate semantics, the tree widget may not be perceivable to or operable by a person with a disability because the assistive technology does not recognize it as such. ในการปิดการใช้งานที่ไม่ใช่ผู้ใช้ที่อาจดูและพระราชบัญญัติเหมือนต้นไม้พับเครื่องมือแต่เหมาะสมโดยอรรถศาสตร์, ต้นไม้เครื่องมืออาจไม่ perceivable หรือ operable โดยบุคคลที่มีความพิการเนื่องจาก assistive เทคโนโลยีไม่รู้จักเป็นเช่น.
The incorporation of WAI-ARIA is a way for an author to provide proper semantics for custom widgets to make these widgets accessible, usable, and interoperable with assistive technology. การรวมตัวกันของ ไหว้-ARIA เป็นวิธีที่ทำให้ผู้เขียนให้เหมาะสมอรรถศาสตร์สำหรับเครื่องมือที่กำหนดเองเพื่อให้สามารถเข้าถึงเครื่องมือเหล่านี้, ใช้งานและ interoperable กับ assistive เทคโนโลยี. This specification identifies the types of widgets and structures that are commonly recognized by accessibility products, by providing an ontology of corresponding roles that can be attached to content. ข้อกำหนดนี้ระบุชนิดของเครื่องมือและโครงสร้างที่จะยอมรับการเข้าถึงผลิตภัณฑ์โดยการให้เป็นของ ontology ตรงกัน บทบาท ที่สามารถแนบไปยังเนื้อหา. This allows elements with a given role to be understood as a particular widget or structural type regardless of any semantic inherited from the implementing technology. ซึ่งช่วยให้องค์ประกอบที่มีบทบาทเพื่อให้เข้าใจเป็นเครื่องมือเฉพาะหรือโครงสร้างประเภทใดๆโดยไม่คำนึงถึงความหมายของคำที่สืบทอดจากการนำเทคโนโลยี. Roles are a common property of platform accessibility APIs which assistive technology uses to provide the user with effective presentation and interaction. บทบาทเป็นสามัญทรัพย์สินของแพลตฟอร์ม APIs เข้าถึง เทคโนโลยีที่ assistive ใช้เพื่อให้ผู้ใช้ที่มีที่มีประสิทธิภาพในการนำเสนอและปฏิสัมพันธ์.
This role taxonomy includes interaction widgets and elements denoting document structure. นี้รวมถึงบทบาทอนุกรมวิธานปฏิสัมพันธ์ เครื่องมือ และองค์ประกอบ denoting เอกสารโครงสร้าง. The role taxonomy describes inheritance and details what additional attributes each role supports. บทบาทอนุกรมวิธานมรดกอธิบายและรายละเอียดเพิ่มเติมสิ่ง แอตทริบิวต์ แต่ละบทบาทสนับสนุน. Information about mapping of roles to accessibility APIs is provided by the WAI-ARIA User Agent Implementation Guide [ ARIA-IMPLEMENTATION ]. ข้อมูลเกี่ยวกับการทำแผนที่ของบทบาทเพื่อให้เข้าถึง APIs โดย ไหว้-ARIA ผู้ใช้ตัวแทนดำเนินคู่มือ [ARIA-ดำเนิน].
Roles are element types and should not change with time or user actions. บทบาทเป็นองค์ประกอบและประเภทไม่ควรเปลี่ยนกับเวลาหรือการกระทำที่ผู้ใช้. Changing the role on an element from its initial value will likely be treated by accessibility API events as the removal of the old element and insertion of a new element with the new role. เปลี่ยนบทบาทในองค์ประกอบจากค่าเริ่มต้นจะได้รับการปฏิบัติตามการเข้าถึง API การ เหตุการณ์ เป็นลบเก่าขององค์ประกอบและแทรกใหม่องค์ประกอบที่มีบทบาทใหม่.
States and properties are used to declare important attributes of an element that affect and describe interaction. รัฐและคุณสมบัติใช้แอตทริบิวต์ประกาศสำคัญขององค์ประกอบที่มีผลต่อและอธิบายปฏิสัมพันธ์. They enable the user agent or operating system to properly handle the element even when the attributes are dynamically changed by client-side scripts. พวกเขาใช้ ตัวแทนผู้ใช้ หรือระบบปฏิบัติการที่เหมาะสมที่จะจัดการองค์ประกอบแม้ว่าแอททริบิวเป็นแบบไดนามิกเปลี่ยนแปลงโดยลูกค้าฝั่งสคริปต์. For example, alternative input and output technology such as screen readers, speech dictation software, and on-screen keyboards must be able to recognize and effectively communicate various states (disabled, checked, etc.) to the user. ตัวอย่างเช่นอื่นอินพุตเอาต์พุตและเทคโนโลยีเช่นจออ่านการพูดการบงการซอฟต์แวร์และในหน้าจอ keyboards จะต้องรับรู้และมีประสิทธิภาพสื่อสารต่างๆรัฐ (ปิดใช้งานการตรวจสอบฯลฯ) ของผู้ใช้.
While it is possible for assistive technology to access these properties directly through the Document Object Model [ DOM ], the preferred mechanism is for the user agent to map the states and properties to the accessibility API of the operating system. ในขณะที่เป็นไปได้สำหรับ assistive เทคโนโลยีเหล่านี้ในการเข้าถึงคุณสมบัติโดยตรงผ่าน เอกสารออบเจกต์โมเดล [DOM] ที่ชอบกลไกคือสำหรับผู้ใช้ตัวแทนเพื่อแผนที่รัฐและคุณสมบัติในการเข้าถึง API การ ของระบบปฏิบัติการ. See the WAI-ARIA User Agent Implementation Guide . ดู ไหว้-ARIA ผู้ใช้ตัวแทนดำเนินคู่มือ. [ ARIA-IMPLEMENTATION ] [ARIA-ดำเนิน]
Figure 1.0 illustrates a typical Document Object Model (DOM) [ DOM ] node. รูปที่ 1.0 แสดงทั่วไป เอกสารออบเจกต์โมเดล (DOM) [DOM] โหนด. Placed within the DOM node and the assistive technology is a box containing the "contract" provided by the user agent to the assistive technology. วางภายใน DOM โหนดและเทคโนโลยี assistive เป็นกล่องที่มี "สัญญา" โดยผู้ใช้ไปที่ตัวแทน assistive เทคโนโลยี. This data includes typical accessibility information found in the accessibility API for many of our accessible platforms for GUIs (role, state, selection, event notification, relationship information, and descriptions). ข้อมูลนี้รวมถึงข้อมูลทั่วไปเข้าถึงข้อมูลที่พบในการเข้าถึง สำหรับ ต่างๆของเราสามารถเข้าถึงได้แพลตฟอร์มสำหรับ GUIs (บทบาทรัฐคัดเลือก เหตุการณ์ แจ้ง ความสัมพันธ์ ข้อมูลและคำอธิบาย).
Figure 1: The contract model with accessibility APIs รูปที่ 1: สัญญากับรุ่นเข้าถึง APIs
For more information see the WAI-ARIA Primer [ ARIA-PRIMER ] for the use of roles in making interactive content accessible. สำหรับข้อมูลเพิ่มเติมโปรดดูที่ ไหว้-ARIA เชื้อปะทุ [ARIA-เชื้อปะทุ] สำหรับการใช้บทบาทในการโต้ตอบเนื้อหาสามารถเข้าถึง.
In addition to the prose documentation, the role taxonomy is provided in Web Ontology Language (OWL) [ OWL ], which is an implementation of Resource Description Framework (RDF) [ RDF ]. นอกเหนือจากร้อยแก้วเอกสารบทบาทเป็นอนุกรมวิธานที่ระบุไว้ใน เว็บ Ontology ภาษา (ฮูก) [ฮูก] ซึ่งการใช้งานของ ทรัพยากรคำอธิบายกรอบ (RDF) [RDF]. Tools can use these to validate the implementation of roles in a given content document. เครื่องมือเหล่านี้สามารถใช้เพื่อตรวจสอบบทบาทในการให้เนื้อหาเอกสาร. For example, instances of some roles are expected to be children of a specific parent role. ตัวอย่างเช่น instances มีบทบาทเป็นที่คาดหวังที่จะเด็กของเฉพาะแม่บทบาท. Also, some roles may support a specific state or property that another role does not support. นอกจากนี้อาจมีบทบาทสนับสนุนเฉพาะรัฐหรือ ทรัพย์สิน อื่นบทบาทที่ไม่สนับสนุน.
Note: The use of RDF /OWL as a formal representation of roles may be used to support future extensibility. หมายเหตุ: การใช้ RDF / ฮูกเป็นทางการแทนบทบาทอาจถูกใช้เพื่อสนับสนุนในอนาคต extensibility. Standard RDF/OWL mechanisms can be used to define new roles that inherit from the roles defined in this specification. มาตรฐาน RDF / ฮูกกลไกสามารถใช้เพื่อกำหนดบทบาทใหม่ที่รับช่วงจากบทบาทที่กำหนดไว้ในข้อกำหนดนี้. The mechanism to define and use role extensions in an interoperable manner, however, is not defined by this specification. ที่กลไกเพื่อกำหนดและใช้นามสกุลบทบาทในลักษณะ interoperable แต่ไม่ได้กำหนดโดยนี้ข้อกำหนด. A future version of ARIA is expected to define how to extend roles. เวอร์ชันในอนาคตของ ARIA คาดเพื่อกำหนดวิธีการขยายบทบาท.
1.1. Scope 1.1. ขอบเขต
The goals of this specification include: เป้าหมายของข้อกำหนดนี้ได้แก่:
defining what information may be controlled by the author; กำหนดว่าข้อมูลอาจมีการควบคุมโดยผู้เขียน;
supporting device independence for new devices such as telephones, PDAs , and televisions; สนับสนุนอุปกรณ์อิสระใหม่อุปกรณ์ต่างๆเช่นโทรศัพท์, PDAs และโทรทัศน์;
improving the accessibility of dynamic content generated by scripts; and ปรับปรุงการเข้าถึงของเนื้อหาแบบไดนามิกที่สร้างโดยสคริปต์และ
providing for interoperability with assistive technology . ให้สำหรับกันกับ assistive เทคโนโลยี.
This draft currently handles two aspects of roles : user interface functionality and structural relationships . ขณะนี้ร่างจัดการสองเรื่อง บทบาท: อินเตอร์เฟซผู้ใช้ฟังก์ชันและโครงสร้าง สัมพันธ์. For more information, see the WAI-ARIA Primer [ ARIA-PRIMER ] for the use of roles in making interactive content accessible. สำหรับข้อมูลเพิ่มเติมโปรดดูที่ ไหว้-ARIA เชื้อปะทุ [ARIA-เชื้อปะทุ] สำหรับการใช้บทบาทในการโต้ตอบเนื้อหาสามารถเข้าถึง.
The role taxonomy is designed in part to support the common roles found in platform accessibility APIs . บทบาทอนุกรมวิธานในส่วนที่ได้รับการออกแบบมาเพื่อรองรับการสามัญบทบาทพบในแพลตฟอร์ม เข้าถึง APIs. Reference to roles found in this taxonomy by dynamic web content may be used to support interoperability with assistive technology. อ้างอิงถึงบทบาทที่พบในแบบไดนามิกนี้อนุกรมวิธานโดยเว็บเนื้อหาอาจถูกใช้เพื่อสนับสนุนกันกับ assistive เทคโนโลยี.
The schema to support this standard has been designed to be extensible so that custom roles can be created by extending base roles. คีที่ให้การสนับสนุนมาตรฐานนี้ได้รับการออกแบบมาเพื่อขยายบทบาทที่กำหนดเองเพื่อให้สามารถสร้างขึ้นโดยการขยายฐานบทบาท. This allows user agents to support at least the base role, and user agents that support the custom role can provide enhanced access. ซึ่งช่วยให้ ผู้ใช้ตัวแทน เพื่อสนับสนุนอย่างน้อยฐานบทบาทและผู้ใช้ตัวแทนที่สนับสนุนที่กำหนดเองให้เพิ่มบทบาทสามารถเข้าถึง. Note that much of this could be formalized in XML Schema [ XSD ]. โปรดทราบว่ามากนี้อาจ formalized ใน XML ที่คี [XSD]. However, being able to define similarities between roles, such as baseConcepts and more descriptive definitions, would not be available in XSD . อย่างไรก็ตามความสามารถในการกำหนด similarities ระหว่างบทบาทเช่น baseConcepts และอื่นๆอธิบายความหมายจะไม่สามารถใช้ได้ใน XSD. While this extensibility is possible, this version of the specification does not define how this extension is to be achieved. ขณะที่ extensibility นี้เป็นไปได้, เวอร์ชันนี้ของข้อกำหนดไม่กำหนดวิธีนี้ส่วนขยายที่จะเกิด.
WAI-ARIA is supported by a set of informative resources. ไหว้-ARIA สนับสนุนโดยชุดของข้อมูลทรัพยากร. In addition to the WAI-ARIA Roadmap [ ARIA-ROADMAP ], the WAI-ARIA Primer [ ARIA-PRIMER ] provides a basic introduction to the concepts behind and reason for ARIA , and the WAI-ARIA Best Practices [ ARIA-PRACTICES ] describe recommended usage patterns for web content developers. นอกเหนือจาก ไหว้-ARIA Roadmap [ARIA-ROADMAP], การ ไหว้-ARIA เชื้อปะทุ [ARIA-เชื้อปะทุ] ให้พื้นฐานความรู้เบื้องต้นเกี่ยวกับการแนวคิดเบื้องหลังและเหตุผล ARIA และ ไหว้-ARIA วิธีปฏิบัติที่ดีที่สุด [ARIA-หลักปฏิบัติ] อธิบายแนะนำการใช้งานรูปแบบสำหรับนักพัฒนาเว็บเนื้อหา. The WAI-ARIA User Agent Implementation Guide [ ARIA-IMPLEMENTATION ] describes how user agents should expose ARIA features to platform accessibility API s . การ ไหว้-ARIA ผู้ใช้ตัวแทนดำเนินคู่มือ [ARIA-ดำเนิน] อธิบายวิธีตัวแทนผู้ใช้ควรเปิดเผย ARIA คุณลักษณะแพลตฟอร์มเข้าถึง API ได้ เพื่อ ที่. These documents are intended to help authors learn the practice of putting WAI-ARIA to use. เอกสารเหล่านี้มีวัตถุประสงค์เพื่อช่วยให้ผู้เขียนเรียนรู้ปฏิบัติวาง ไหว้-ARIA การใช้.
1.2. Use Cases 1.2. การใช้กรณี
Keyboard accessible content helps users of alternate input devices. แป้นพิมพ์สามารถเข้าถึง เนื้อหาช่วยให้ผู้ใช้อื่นอุปกรณ์อินพุต. The new semantics, when combined with the recommended keyboard interactions provided in WAI-ARIA Best Practices [ ARIA-PRACTICES ], work will allow alternate input solutions to facilitate command and control via an alternate input solution. ใหม่อรรถศาสตร์, เมื่อรวมกับที่แนะนำ interactions แป้นพิมพ์ที่ระบุไว้ใน ไหว้-ARIA วิธีปฏิบัติที่ดีที่สุด [ARIA-หลักปฏิบัติ] ทำงานจะช่วยให้สลับอินพุตโซลูชันคำสั่งเพื่ออำนวยความสะดวกและการควบคุมทางอื่นอินพุตโซลูชัน.
ARIA introduces navigation landmarks through its taxonomy and the XHTML role landmarks, which helps persons with dexterity and vision impairments by providing for improved keyboard navigation. ARIA may also be used to assist persons with cognitive learning disabilities. ARIA แนะนำการนาวิเกตจุดสังเกตผ่านทางอนุกรมวิธานและ XHTML บทบาทจุดสังเกตที่ช่วยให้บุคคลที่มีความชำนาญและวิสัยทัศน์ impairments โดยการให้การปรับปรุงแป้นพิมพ์นำทาง. ARIA อาจถูกนำไปใช้เพื่อช่วยให้บุคคลที่มีการเรียนรู้เกี่ยวกับความรู้ความเข้าใจพิการ. The additional semantics allow authors to restructure and substitute alternative content as needed. อรรถศาสตร์เพิ่มเติมอนุญาตให้ผู้เขียนเพื่อปรับโครงสร้างและเนื้อหาอื่นแทนตามความจำเป็น.
Assistive technology needs the ability to support alternative inputs by getting and setting the current value of widgets . Assistive เทคโนโลยี ต้องการความสามารถในการสนับสนุนทางเลือก inputs โดยการเดินทางและการตั้งค่าปัจจุบันค่า เครื่องมือ. Assistive technology also needs to determine what objects are selected and manage widgets that allow multiple selections, such as list boxes and grids. เทคโนโลยี Assistive ยังต้องพิจารณาสิ่งที่ ออบเจกต์ ที่เลือกและจัดการเครื่องมือที่อนุญาตให้ใช้หลายเลือกเช่นรายการกล่องและ grids.
ARIA is intended to be used as a supplement for native language semantics, not a replacement. ARIA มีวัตถุประสงค์เพื่อใช้เป็นเสริมสำหรับพื้นเมืองภาษาอรรถศาสตร์ไม่ใช่แทนที่. When the host language provides a feature that is equivalent to the ARIA feature, use the host language feature. ARIA should only be used in cases where the host language lacks the needed role , state , or property indicator. เมื่อโฮสต์ภาษาให้มีคุณสมบัติที่จะเทียบเท่ากับ ARIA คุณลักษณะใช้โฮสต์ภาษาคุณลักษณะ. ARIA ควรใช้ในกรณีที่โฮสต์ lacks ภาษาที่ต้องการ บทบาท, รัฐ หรือ ทรัพย์สิน สัญลักษณ. First use a host language feature that is as similar as possible to the ARIA feature, then refine the meaning by adding ARIA . แรกใช้โฮสต์ภาษาคุณสมบัติที่เป็นที่คล้ายกันมากที่สุดเพื่อ ARIA คุณลักษณะแล้วแก้ไขได้โดยการเพิ่มความหมาย ARIA. For instance, a multi-selectable grid could be implemented as a table, and then ARIA used to clarify that it is a grid, not just a table. ตัวอย่างเช่นหลายเลือกตะแกรงสามารถดำเนินการเป็นตารางแล้ว ARIA ที่ใช้ในการแจงที่เป็นตารางไม่ใช่แค่ตาราง. This allows for the best possible fallback for user agents that do not support ARIA and preserves the integrity of the host language semantics. ซึ่งช่วยให้การที่ดีที่สุดสำหรับผู้ใช้ fallback ตัวแทนที่ไม่สนับสนุน ARIA และรักษาความมั่นคงของโฮสต์ภาษาอรรถศาสตร์.
2. Using WAI-ARIA 2. การใช้ ไหว้-ARIA
This section is informative . ส่วนนี้เป็น ข้อมูล.
Complex web applications become inaccessible when assistive technology cannot determine the semantics behind portions of a document or when the user is unable to effectively navigate to all parts of it in a usable way (see the WAI-ARIA Primer [ ARIA-PRIMER ]). ARIA divides the semantics into roles (the type defining a user interface element) and states and properties supported by the roles. ซับซ้อนเป็นเว็บแอปพลิเคชันไม่สามารถเข้าใช้ได้เมื่อ assistive เทคโนโลยี ไม่สามารถกำหนดอรรถศาสตร์เบื้องหลังบางส่วนของเอกสารหรือเมื่อผู้ใช้อย่างมีประสิทธิภาพไม่สามารถนำทางไปยังทุกส่วนของมันในวิธีการใช้งาน (โปรดดูที่ ไหว้-ARIA เชื้อปะทุ [ARIA-เชื้อปะทุ]). ARIA อรรถศาสตร์ divides ที่เข้า บทบาท (ประเภทการกำหนดอินเตอร์เฟซผู้ใช้องค์ประกอบ) และ รัฐ และ คุณสมบัติ สนับสนุนบทบาท.
Authors must associate elements in the document to an ARIA role and the appropriate states and properties (aria-* attributes ) during its life-cycle. ผู้เขียนต้องภาคี องค์ประกอบ ในเอกสารไปยัง ARIA บทบาทและที่เหมาะสมรัฐและคุณสมบัติ (aria-* แอตทริบิวต์) ระหว่างการวัฏจักรชีวิต.
2.1. WAI-ARIA Roles 2.1. ไหว้-ARIA บทบาท
An ARIA role is set on an element using a role attribute , similar to the role attribute defined in the XHTML Role Attribute Module [ XHTML-ROLES ]. การ ARIA บทบาท ที่กำหนดไว้ใน องค์ประกอบ ใช้ role แอตทริบิวต์, คล้ายกับ role แอตทริบิวต์ที่กำหนดไว้ใน XHTML บทบาทคุณสมบัติโมดูล [XHTML-บทบาท].
The roles defined in this specification include a collection of document landmarks and the ARIA role taxonomy . บทบาทที่กำหนดไว้ในข้อกำหนดนี้รวมถึงการรวบรวม เอกสารที่จุดสังเกต และ ARIA บทบาทอนุกรมวิธาน.
The roles in this taxonomy were modeled using RDF / OWL [ OWL ] to document expected behaviors of each role. บทบาทนี้อนุกรมวิธานถูก modeled ใช้ RDF / ฮูก [ฮูก] เพื่อเอกสารคาดพฤติกรรมของแต่ละบทบาท. Features of the role taxonomy provide the following information for each role: คุณลักษณะของอนุกรมวิธานบทบาทให้ข้อมูลต่อไปนี้สำหรับแต่ละบทบาท:
an informative description of the role; ข้อมูลรายละเอียดของบทบาท;
hierarchical information about related roles (eg, a directory is a type of list ); ลำดับชั้นที่เกี่ยวข้องข้อมูลเกี่ยวกับบทบาท (เช่นที่ directory เป็นประเภท list
context of the role (eg, a listitem should be inside a list ); บริบทของบทบาท (เช่นที่ listitem ควรภายใน list
references to related concepts in other specifications; เพื่อการอ้างอิงที่เกี่ยวข้องกับแนวคิดในข้อกำหนดอื่นๆ;
use of OWL to provide a type hierarchy allowing for semantic inheritance (similar to a class hierarchy); and ใช้ ฮูก ให้พิมพ์ลำดับชั้นให้สำหรับความหมายของคำมรดก (คล้ายกับการ เรียน การปกครองระบอบเจ้าขุนมูลนาย) และ
supported states and properties for each role (eg, a checkbox supports being checked via the aria-checked attribute). สนับสนุน รัฐ และ คุณสมบัติ สำหรับแต่ละบทบาท (เช่นที่ checkbox สนับสนุนการตรวจสอบผ่าน aria-checked
Attaching a role gives assistive technology information about how to handle each element. เกี่ยวพันบทบาทให้ assistive เทคโนโลยี ข้อมูลเกี่ยวกับวิธีการจัดการแต่ละองค์ประกอบ.
2.2. WAI-ARIA States and Properties 2.2. ไหว้-ARIA รัฐและคุณสมบัติ
ARIA provides a collection of accessibility states and properties which are used to support platform accessibility APIs on the various operating system platforms. Assistive technology may access this information through an exposed user agent DOM or through a mapping to the platform accessibility API . ARIA ให้สามารถเข้าถึงได้รวบรวม รัฐ และ คุณสมบัติ ที่ใช้ในการสนับสนุนแพลตฟอร์ม เข้าถึง APIs ในหลายระบบปฏิบัติการแพลตฟอร์ม. Assistive เทคโนโลยี สามารถเข้าถึงข้อมูลนี้ออกผ่านทาง ผู้ใช้ตัวแทน DOM หรือโดยการทำแผนที่ที่แพลตฟอร์มเข้าถึง API ได้. When combined with roles , the user agent can supply the assistive technology with information to render the information to the user at any instance in time. เมื่อรวมกับ บทบาท ผู้ใช้สามารถตัวแทนจัดหาที่ assistive เทคโนโลยีข้อมูลเพื่อแสดงข้อมูลที่ผู้ใช้ที่ทุกเวลาใน. Changes in states or properties will result in a notification to the assistive technology, which may alert the user that a change has occurred. การเปลี่ยนแปลงในรัฐหรือคุณสมบัติจะส่งผลในการแจ้งให้ assistive เทคโนโลยีซึ่งอาจแจ้งเตือนผู้ใช้ที่มีการเปลี่ยนแปลงที่เกิดขึ้น.
In the following example, a list item ( html:li ) has been used to create a checkable menu item, and JavaScript events will capture mouse and keyboard events to toggle value of aria-checked . ในตัวอย่างต่อไปนี้เป็นรายการ html:li ได้ถูกนำมาใช้เพื่อสร้าง checkable เมนูรายการและ JavaScript กิจกรรม จะจับภาพเมาส์และแป้นพิมพ์กิจกรรมเพื่อสลับ ค่า ของ aria-checked A role is used to make the behavior of this simple widget known to the user agent. attributes that change with user actions (such as aria-checked ) are defined in the states and properties section. บทบาทใช้เพื่อให้พฤติกรรมนี้ง่ายๆ เครื่องมือที่ รู้จักของผู้ใช้ตัวแทน. แอตทริบิวต์ ที่เปลี่ยนแปลงกับการกระทำที่ผู้ใช้ (เช่น aria-checked มีการกำหนดใน รัฐและคุณสมบัติ ส่วน.
Some accessibility states, called managed states , are controlled by the user agent. บางรัฐเข้าถึงเรียก จัดการรัฐ จะมีการควบคุมโดยผู้ใช้ตัวแทน. Examples of managed state include keyboard focus and selection. ตัวอย่างของการจัดการของรัฐรวมถึงโฟกัสแป้นพิมพ์และการเลือก. Managed states often have corresponding CSS pseudo-classes (such as :focus and ::selection ) to define style changes. บริหารรัฐมักจะมีตรงกัน CSS หลอก-เรียน :focus ::selection เพื่อกำหนดรูปแบบการเปลี่ยนแปลง. In contrast, the states in this specification are typically controlled by the author and are called unmanaged states. Some states managed by the user agent, such as aria-posinset and aria-setsize , can be overridden by web application authors, but the author should only override them if the DOM is incomplete and would cause the user agent calculation to be incorrect. ในทางตรงกันข้ามการรัฐในข้อกำหนดนี้มักจะถูกควบคุมโดยผู้เขียนและเรียก unmanaged รัฐ. ในบางรัฐจัดการโดยผู้ใช้ตัวแทนเช่น aria-posinset และ aria-setsize สามารถเว็บแอปพลิเคชันแทนที่โดยผู้เขียนแต่ผู้เขียนควรเพียงแทนที่หากพวกเขา DOM ไม่สมบูรณ์และจะทำให้ผู้ใช้ตัวแทนคำนวณไม่ถูกต้อง. User agents map both managed and unmanaged states to the platform accessibility APIs . ทั้งผู้ใช้ตัวแทนแผนที่การจัดการและ unmanaged รัฐที่แพลตฟอร์มเข้าถึง APIs.
Most modern user agents support CSS attribute selectors ([ CSS ], Section 5.8), and can allow the author to create UI changes based on ARIA attribute information, reducing the amount of scripts necessary to achieve equivalent functionality. ทันสมัยที่สุดผู้ใช้ตัวแทนสนับสนุน CSS แอตทริบิวต์ selectors ([CSS], มาตรา 5.8) และสามารถอนุญาตให้ผู้เขียนเพื่อสร้าง UI การเปลี่ยนแปลงตาม ARIA แอตทริบิวต์ข้อมูลลดจำนวนสคริปต์จำเป็นเพื่อให้บรรลุเทียบเท่าฟังก์ชัน. In the following example, a CSS selector is used to determine whether or not an image of a check mark is shown, based on the value of the aria-checked attribute. ในตัวอย่างต่อไปนี้เป็น CSS เลือกจะใช้เพื่อตรวจสอบว่าหรือไม่รูปภาพของเครื่องหมายจะปรากฏขึ้นตามค่าของ aria-checked แอตทริบิวต์. [aria-checked="true"]:before { background-image: url(checked.gif); } [aria-ตรวจสอบ = "จริง"]: ก่อน (-ภาพพื้นหลัง: URL ที่ (checked.gif);)
Note: At the time of this writing, this CSS example, while technically correct, will not redraw styles properly in some browsers if the attribute's value is changed dynamically. หมายเหตุ: ในขณะที่นี้เขียนนี้ CSS เช่นเทคนิคในขณะที่ถูกต้องจะไม่วาดใหม่สไตล์เหมาะสมในบางเบราเซอร์ของแอททริบิวในกรณีที่จะเปลี่ยนค่าแบบไดนามิก. It may be necessary to toggle a class name, or otherwise to force the browser to redraw the styles properly. มันอาจจำเป็นเพื่อสลับที่คลาสชื่อหรือการบังคับให้เบราเซอร์เพื่อเขียนใหม่ในรูปแบบที่เหมาะสม.
2.3. Managing Focus 2.3. การจัดการโฟกัส
An application should always have an element with focus when in use, as applications require users to have a place to provide user input. การ application ควรมี องค์ประกอบ ที่โฟกัสเมื่อใช้เป็นแอปพลิเคชันกำหนดให้ผู้ใช้มีสถานที่ที่จะให้ผู้ใช้ป้อน. The element with focus should not be destroyed, hidden, or scrolled off screen. องค์ประกอบกับโฟกัสไม่ควรทำลายซ่อนหรือ scrolled ปิดหน้าจอ. All interactive elements should be focusable. อินเตอร์องค์ประกอบทั้งหมดควร focusable. There should be an obvious, discoverable way, either through tabbing or other standard navigation techniques, for keyboard users to move the focus to any interactive element. ควรมีการแจ้งชัด, discoverable ทางทั้งผ่าน tabbing หรือมาตรฐานอื่นๆเทคนิคการนาวิเกตสำหรับผู้ใช้แป้นพิมพ์เพื่อย้ายโฟกัสใดโต้ตอบองค์ประกอบ. See User Agent Accessibility Guidelines, Guideline 9 ([ UAAG ], Guideline 9). ดู ผู้ใช้ตัวแทนเข้าใช้คำแนะนำแนวทาง 9 ([UAAG], แนวทาง 9).
When using standard (X)HTML and basic WAI-ARIA widgets , application developers can simply manipulate the tab order or use a script to create keyboard shortcuts to elements in the document. เมื่อใชมาตรฐาน (เอ็กซ์) HTML และพื้นฐาน ไหว้-ARIA เครื่องมือ การใช้นักพัฒนาสามารถจัดการที่แท็บที่สั่งซื้อหรือใช้สคริปต์เพื่อสร้างคีย์ลัดเพื่อองค์ประกอบในเอกสาร. Use of more complex widgets requires the author to manage focus within them. การใช้เครื่องมือเพิ่มเติมซับซ้อนต้องใช้ในการจัดการผู้เขียนโฟกัสภายในพวกเขา.
WAI-ARIA includes a number of "managing container" widgets, also known as "composite" widgets. ไหว้-ARIA ประกอบด้วยจำนวนของ "การจัดการผอก" เครื่องมือรู้จักกันเป็น "ประกอบด้วย" เครื่องมือ. Typically, the container is responsible for tracking the last descendant which was active (the default is usually the first item in the container). โดยปกติภาชนะที่มีหน้าที่ในการติดตามสุดท้ายสายเลือดซึ่งใช้งาน (ค่าเริ่มต้นโดยปกติจะเป็นรายการแรกในจุ๊บ). When a previously focused container is refocused, the new active descendant should be the same element as the active descendant when the container was last focused. เมื่อก่อนหน้าเน้นผอกเป็น refocused, ใหม่ที่ใช้งานควรสายเลือดเดียวกันองค์ประกอบที่ใช้งานสายเลือดเมื่อผอกสุดท้ายคือเน้น. For example, if the second item of a tree group was the active descendant when the user tabbed out of the tree group, then the second item of the tree group remains the active descendant when the tree group gets focus again. ตัวอย่างเช่นถ้ารายการที่สองของต้นไม้กลุ่มที่ใช้งานคือสายเลือดเมื่อผู้ใช้ tabbed ออกจากต้นไม้กลุ่มแล้วที่สองรายการของกลุ่มต้นไม้ยังคงใช้งานสายเลือดเมื่อต้นไม้กลุ่มโฟกัสได้รับอีกครั้ง. The user may also activate the container by clicking on one of the descendants within it. ผู้ใช้ยังสามารถเปิดใช้งานภาชนะโดยคลิกที่ลูกหลานหนึ่งในที่อยู่ภายใน.
When something in the container has focus, the user may navigate through the container by pressing additional keys such as the arrow keys to move relative to the current item. เมื่อในบางผอกโฟกัสมีผู้ใช้อาจนำทางที่ภาชนะโดยกดเพิ่มเติมคีย์เช่นปุ่มลูกศรเพื่อย้ายเมื่อเทียบกับรายการปัจจุบัน. Any additional press of the main navigation key (generally the Tab key) will move out of the container to the next widget. ใดๆที่เพิ่มเติมกดหลักนำทางคีย์ (โดยทั่วไปที่แท็บที่สำคัญ) จะย้ายออกจากภาชนะไปเครื่องมือ.
For example, a grid may be used as a spreadsheet with thousands of gridcell elements, all of which may not be present in the document at one time. ตัวอย่างเช่น grid อาจใช้เป็นสเปรดชีตกับพัน gridcell องค์ประกอบทั้งหมดที่อาจไม่แสดงในเอกสารที่หนึ่งครั้ง. This requires their focus to be managed by the container using the aria-activedescendant attribute , on the managing container element, or by the container managing the tabindex of its child elements and setting focus on the appropriate child. นี้ต้องมีการโฟกัสที่จะจัดการโดยผอกใช้ aria-activedescendant แอตทริบิวต์ ในการจัดการผอกองค์ประกอบหรือโดยผอกจัดการ tabindex ของเด็กองค์ประกอบและการมุ่งเน้นที่เหมาะสมเด็ก. For more information, see Providing Keyboard Focus in WAI-ARIA Best Practices ([ ARIA-PRACTICES ], section 3.2). สำหรับข้อมูลเพิ่มเติมโปรดดู ให้คีย์บอร์ดโฟกัสใน ไหว้-ARIA วิธีปฏิบัติที่ดีที่สุด ([ARIA-หลักปฏิบัติ] ส่วน 3.2).
Containers that manage focus in this way are: Containers โฟกัสในที่จัดการด้วยวิธีนี้คือ:
combobox
grid
listbox
menu
menubar
tree
treegrid
tablist
toolbar
More information on managing focus can be found in the Using Tabindex to Manage Focus Among Widgets section of the WAI-ARIA Best Practices [ ARIA-PRACTICES ]. ข้อมูลเพิ่มเติมเกี่ยวกับการจัดการโฟกัสสามารถพบได้ใน การใช้ Tabindex เพื่อจัดการโฟกัสและในหมู่เครื่องมือ ส่วนของ ไหว้-ARIA วิธีปฏิบัติที่ดีที่สุด [ARIA-หลักปฏิบัติ].
2.4. Building Accessible Applications with WAI-ARIA 2.4. อาคารสามารถเข้าถึงได้ด้วยแอปพลิเคชัน ไหว้-ARIA
This section provides a brief introduction to the process of making applications accessible using ARIA . ส่วนนี้ให้สั้นๆความรู้เบื้องต้นเกี่ยวกับการทำให้สามารถเข้าถึงได้โดยใช้แอปพลิเคชัน ARIA. The choice and usage of roles can be complex and context dependent. การเลือกและการใช้งานของ บทบาท สามารถซับซ้อนและบริบทอุปการะ. It is beyond the scope of this document to explain implementations for all the possible ARIA use cases. ARIA Best Practices [ ARIA-PRACTICES ] provides detailed guidance on ARIA implementation methodology as well as references to sample code. เป็นเกินขอบเขตของเอกสารนี้ให้แก่ implementations อธิบายสำหรับทุกที่สุด ARIA ใช้กรณี. ARIA วิธีปฏิบัติที่ดีที่สุด [ARIA-หลักปฏิบัติ] ให้ละเอียด ARIA ปฏิบัติตามคำแนะนำในวิธีการตลอดจนการอ้างอิงตัวอย่างรหัส.
First steps to making an application accessible: ขั้นตอนแรกเพื่อทำให้โปรแกรมสามารถเข้าถึงได้:
Each element or widget has correct and complete semantics that fully describe its behavior (using element names or roles); แต่ละ องค์ประกอบ หรือ เครื่องมือที่ ได้ถูกต้องและครบถ้วนเต็มอรรถศาสตร์ที่อธิบายพฤติกรรมของมัน (โดยใช้ชื่อองค์ประกอบหรือบทบาท);
The relationships between elements and groups are defined; ความ สัมพันธ์ ระหว่างองค์ประกอบและมีการกำหนดกลุ่ม;
States , properties , and container relationships are valid for each element's behavior and are accessible via the Document Object Model [ DOM ] and the platform accessibility API ; and รัฐ, คุณสมบัติ และความสัมพันธ์ผอกถูกต้องสำหรับแต่ละองค์ประกอบของพฤติกรรมและสามารถเข้าถึงได้ผ่านทาง เอกสารออบเจกต์โมเดล [DOM] และแพลตฟอร์ม เข้าถึง API การ และ
Keyboard focus should be maintained for the duration of the user's interaction with the application. คีย์บอร์ดโฟกัสควรดูแลสำหรับระยะเวลาของผู้ใช้กับแอปพลิเคชัน.
All interactive components should be keyboard operable . ทั้งหมดโต้ตอบองค์ประกอบควร แป้นพิมพ์ operable.
ARIA provides authors with the means to make the different elements in a web application semantically rich. User agents use the role semantics to understand how to handle each element. ARIA ให้ผู้เขียนกับวิธีการทำให้แตกต่างกันองค์ประกอบในเว็บแอปพลิเคชัน semantically มั่งมี. ผู้ใช้ตัวแทน ใช้บทบาทอรรถศาสตร์เข้าใจวิธีการจัดการแต่ละองค์ประกอบ. Roles convey additional information that the assistive technology needs to anticipate the behavior of the elements inside the application such as how to present the corresponding ARIA states and properties to the user. บทบาทกระเตงข้อมูลเพิ่มเติมที่ assistive เทคโนโลยี ต้องคาดหมายลักษณะการทำงานขององค์ประกอบภายในโปรแกรมเช่นวิธีปัจจุบันที่ตรงกัน ARIA รัฐและคุณสมบัติของผู้ใช้. The user agent will use the accessibility semantics from the host language and ARIA accessibility semantics (which may augment or override those of the host language) and present them to an assistive technology through the Document Object Model or the platform accessibility API . ตัวแทนผู้ใช้จะใช้เข้าถึงอรรถศาสตร์จากโฮสต์ภาษาและ ARIA เข้าถึงอรรถศาสตร์ (ซึ่งอาจหนุนเนื่องหรือแทนที่บรรดาของโฮสต์ภาษา) และนำพวกเขาไปยัง assistive เทคโนโลยีผ่านเอกสารออบเจกต์โมเดลหรือแพลตฟอร์มเข้าถึง API ได้. The user agent will create an accessible representation of each element in the web page, and will use the appropriate accessibility API to notify assistive technology of changes to the semantics of those elements. ตัวแทนผู้ใช้จะสามารถเข้าถึงได้สร้างแทนแต่ละองค์ประกอบในหน้าเว็บและจะใช้ที่เหมาะสมการเข้าถึง API ได้ เพื่อแจ้ง assistive เทคโนโลยีของการเปลี่ยนแปลงไปยังอรรถศาสตร์ของบรรดาองค์ประกอบ.
The following steps are recommended as ARIA is applied to content: ขั้นตอนต่อไปนี้จะแนะนำเป็น ARIA จะใช้กับเนื้อหา:
Use native markup when possible. ใช้พื้นเมืองมาร์คเมื่อที่สุด.
Use the semantic elements that are defined in the host markup language. ใช้ความหมายของคำองค์ประกอบที่มีการกำหนดในโฮสต์ภาษามาร์คอัป. For example, with HTML or XHTML , it is better to use the native checkbox than to use a div element with role checkbox as these should already be accessible through your browser. ตัวอย่างเช่นด้วย HTML หรือ XHTML จะดีกว่าที่จะใช้พื้นเมืองช่องกว่าที่จะใช้ div องค์ประกอบที่มีบทบาท checkbox เหล่านี้ควรเป็นแล้วสามารถเข้าถึงได้ผ่านเบราเซอร์ของคุณ. There may also be cases where ARIA can augment an existing element in the host language. อาจมีกรณีที่ ARIA สามารถหนุนเนื่ององค์ประกอบที่มีอยู่ในโฮสต์ภาษา. For example, a grid and gridcell elements can reuse the functionality of a table when overlaying it. ARIA roles, states, and properties are best used when the markup language does not support all the semantics required. ตัวอย่างเช่น grid และ gridcell องค์ประกอบสามารถซ้ำการทำงานของตารางเมื่อ overlaying มัน. ARIA บทบาท, รัฐและมีคุณสมบัติที่ดีที่สุดเมื่อใช้ภาษามาร์คอัปไม่สนับสนุนทั้งหมดอรรถศาสตร์ต้อง. When a role attribute is added to an element, the semantics and behavior of the element are augmented or overridden by the role behavior. เมื่อบทบาท แอตทริบิวต์ จะถูกเพิ่มเป็นองค์ประกอบที่อรรถศาสตร์และการทำงานขององค์ประกอบมี augmented หรือแทนที่โดยบทบาทพฤติกรรม.
Apply the appropriate roles. สมัครที่เหมาะสมบทบาท.
Set roles to make sure elements behave predictably and correctly describe the behavior of each element within the application, unless element behaviors are fully described by the native markup language. ตั้งบทบาทเพื่อให้แน่ใจว่าองค์ประกอบประพฤติ predictably อย่างถูกต้องและอธิบายพฤติกรรมของแต่ละองค์ประกอบภายในโปรแกรมเว้นแต่องค์ประกอบพฤติกรรมที่เต็มอธิบายโดยพื้นเมืองภาษามาร์คอัป. Roles for interactive elements should support all the attributes that the element could use. บทบาทสำหรับโต้ตอบควรสนับสนุนทั้งหมดแอททริบิวที่สามารถใช้องค์ประกอบ. Once a role attribute is set it should not be changed as this may confuse the end user. เมื่อแอททริบิวบทบาทตั้งมันไม่ควรจะมีการเปลี่ยนแปลงเนื่องจากอาจสับสนกับผู้ใช้. This does not preclude an element being removed which has the role attribute set, but only states and properties (aria-* attributes) should be changed for a given element. นี้ไม่ดักคอมีการลบองค์ประกอบที่มีบทบาทแอตทริบิวต์ตั้งแต่รัฐและคุณสมบัติ (aria-แอตทริบิวต์ *) ควรจะมีการเปลี่ยนแปลงสำหรับแต่ละองค์ประกอบ.
Preserve semantic structure. เก็บรักษาความหมายของคำโครงสร้าง.
Structural information is critical to providing context to persons with disabilities. โครงสร้างข้อมูลที่สำคัญที่จะให้บริการบริบทเพื่อคนพิการ. Preserve DOM hierarchy within structural elements and widgets. รักษา DOM ลำดับชั้นภายในโครงสร้างองค์ประกอบและเครื่องมือ. Form logical groups within user interface widgets, such as treeitem elements in a group . แบบตรรกะกลุ่มภายในอินเตอร์เฟซผู้ใช้เครื่องมือเช่น treeitem องค์ประกอบใน group Look for groups within a page, and mark them using the most appropriate role that best describes their usage. มองหาภายในกลุ่มเพจและเครื่องหมายพวกเขาใช้ที่เหมาะสมที่สุดบทบาทอธิบายที่ดีที่สุดของการใช้งาน. For example, a region of the page that contains a group of elements that are likely to change through an Ajax application could be specified as a live region, through the use of the aria-live attribute. ตัวอย่างเช่นพื้นที่ของเพจที่มีกลุ่มขององค์ประกอบที่มีแนวโน้มที่จะเปลี่ยนผ่านทางแอปพลิเคชัน ajax สามารถระบุเป็นอยู่ภูมิภาคผ่านการใช้ของ aria-live แอตทริบิวต์. Facilitate keyboard navigation through the use of document landmarks; full keyboard access and document semantics help everyone, including vision-impaired users, dexterity-impaired users, and even users with cognitive or learning impairments. บริการผ่านทางนาวิเกตแป้นพิมพ์การใช้เอกสารที่จุดสังเกต; เต็มแป้นพิมพ์สามารถเข้าถึงเอกสารและอรรถศาสตร์ช่วยให้ทุกคนรวมถึงวิสัยทัศน์-ลดผู้ใช้ความชำนาญ-ลดผู้ใช้และผู้ใช้ที่มีการเรียนรู้เกี่ยวกับความรู้ความเข้าใจหรือ impairments.
Build relationships. สร้างความสัมพันธ์ที่.
Look for relationships between elements, and mark them using the most appropriate property or attribute. มองหา สัมพันธ์ ระหว่างองค์ประกอบและเครื่องหมายพวกเขาใช้ที่เหมาะสมที่สุด ทรัพย์สิน หรือแอททริบิว. For example, if a page contains both a search form and search results region, mark each container as a region and set the aria-controls attribute of the search form to reference the search results. ตัวอย่างเช่นหากเพจมีทั้งแบบฟอร์มการค้นหาและผลลัพธ์การค้นหาภูมิภาคเครื่องหมายแต่ละผอกเป็น region และตั้ง aria-controls แอตทริบิวต์ของแบบฟอร์มการค้นหาเพื่ออ้างอิงผลลัพธ์การค้นหา. See relationships in WAI-ARIA . ดู ความสัมพันธ์ใน ไหว้-ARIA.
Some relationships are determined automatically from the host language, like label elements associated with input elements in HTML . บางความสัมพันธ์ที่มีการพิจารณาโดยอัตโนมัติจากภาษาโฮสต์เช่น label ที่เกี่ยวข้องกับองค์ประกอบ input องค์ประกอบใน HTML ที่.
Set states and properties in response to events. ตั้งรัฐและคุณสมบัติในการตอบสนองต่อกิจกรรม.
Once the role for an element has been set, change states and properties as appropriate during the element's life cycle, usually in response to user input events . เมื่อบทบาทสำหรับองค์ประกอบมีการตั้งค่าเปลี่ยนรัฐและคุณสมบัติเหมาะสมระหว่างองค์ประกอบของวงจรชีวิตปกติในการตอบสนองต่อผู้ใช้อินพุต กิจกรรม. Only use attributes supported for the chosen role or element. เท่านั้นที่สนับสนุนการใช้แอททริบิวที่เลือกบทบาทหรือองค์ประกอบ.
User agents should notify assistive technology of state changes. ผู้ใช้งานควรแจ้งตัวแทน assistive เทคโนโลยีของรัฐเปลี่ยนแปลง. Conversely, assistive technology notification of property changes depends on the method by which an assistive technology communicates with the user agent. ตรงกันข้าม, assistive เทคโนโลยีแจ้งทรัพย์สินการเปลี่ยนแปลงขึ้นอยู่กับวิธีที่ assistive เทคโนโลยีสื่อสารกับผู้ใช้ตัวแทน. For example, the aria-multiline attribute (a property) is not something that changes frequently, whereas the aria-checked attribute (a state) changes frequently in response to user input. ตัวอย่างเช่น aria-multiline แอตทริบิวต์ (กทรัพย์สิน) คือสิ่งที่ไม่เปลี่ยนแปลงบ่อยๆที่ aria-checked (รัฐ) การเปลี่ยนแปลงบ่อยครั้งในการตอบสนองต่อผู้ใช้อินพุต.
Support full, usable keyboard navigation. สนับสนุนเต็มใช้ได้คีย์บอร์ดนำทาง.
Usable keyboard navigation in a rich internet application is different from the tabbing paradigm in a static document. นาวิเกตที่ใช้งานคีย์บอร์ดในมั่งมีอินเทอร์เน็ตแอปพลิเคชันจะแตกต่างจากที่ tabbing ตัวอย่างในสถิตเอกสาร. Rich internet applications behave more like desktop applications where the user tabs to significant widgets and uses the arrow keys to navigate within a complex widget, such as a menu or spreadsheet. สมบูรณ์อินเทอร์เน็ตแอปพลิเคชันเพิ่มเติมประพฤติเช่นเดสก์ทอปโปรแกรมที่ผู้ใช้แท็บเพื่อสำคัญเครื่องมือและใช้ปุ่มลูกศรเพื่อนำทางภายในเครื่องมือที่ซับซ้อนเช่นเมนูหรือสเปรดชีต. The changes that ARIA introduces in keyboard navigation make this enhanced accessibility possible. การเปลี่ยนแปลงที่แนะนำใน ARIA แป้นพิมพ์การนาวิเกตนี้เพิ่มการเข้าถึงที่สุด. Tabbing in the document should follow a logical navigation structure. Tabbing ในเอกสารควรเป็นไปตามที่อจิคัลนำทางโครงสร้าง. Authors implementing arrow key navigation should, where possible, follow the design patterns in the WAI-ARIA Best Practices Guide [ ARIA-PRACTICES ]. ผู้เขียนลูกศรคีย์การนาวิเกตที่ควรซึ่งเป็นไปตามรูปแบบในการออกแบบ ไหว้-ARIA วิธีปฏิบัติที่ดีที่สุดคู่มือ [ARIA-หลักปฏิบัติ]. When using these features, it is important as always to ensure keyboard navigation is logical. เมื่อใช้คุณสมบัติเหล่านี้เป็นสิ่งสำคัญตามปกติเพื่อให้แน่ใจว่าคีย์นำทางเป็นหลักตรรกวิทยา.
Synchronize the visual interface with the accessible interface. ตรงกันเสมือนกับที่สามารถเข้าถึงอินเตอร์เฟสอินเตอร์เฟส.
This will allow the state of your UI to be perceivable to the user as well as the assistive technology. ซึ่งจะช่วยให้รัฐของ UI จะ perceivable กำหนดให้กับผู้ใช้เป็น assistive เทคโนโลยี. For example, the author should have an associated selector that responds to a required form element (using aria-required ) or a selected gridcell (using aria-selected ). ตัวอย่างเช่นผู้เขียนควรมีเกี่ยวข้องเลือกที่ตอบที่ต้องการรูปแบบองค์ประกอบ (โดยใช้ aria-required หรือเลือก gridcell (โดยใช้ aria-selected Authors may choose to achieve visual synchronization of these interface elements by using a script or by the use CSS attribute selectors. Refer to the WAI-ARIA Best Practices [ ARIA-PRACTICES ] for techniques for proper UI synchronization with the accessible state of the document. ผู้เขียนสามารถเลือกที่จะบรรลุเสมือนตรงกันอินเตอร์เฟสองค์ประกอบเหล่านี้โดยใช้สคริปต์หรือจากการใช้ CSS แอตทริบิวต์ selectors. อ้างอิงถึง ไหว้-ARIA วิธีปฏิบัติที่ดีที่สุด [ARIA-หลักปฏิบัติ] สำหรับเทคนิคสำหรับเหมาะสม UI ตรงกันกับสามารถเข้าถึงได้รัฐของเอกสาร.
2.5. Example: Building a Tree Widget 2.5. ตัวอย่าง: อาคารต้นไม้เครื่องมือ
A basic tree view allows the user to select different list items and expand and collapse embedded lists. พื้นฐานมุมมองต้นไม้ให้ผู้ใช้ที่แตกต่างกันรายการเพื่อเลือกรายการและขยายและยุบฝังรายการ. Arrow keys are used to navigate through a tree, including left/right to collapse/expand sub trees. มีการใช้คีย์ลูกศรเพื่อนำทางผ่านต้นไม้รวมถึงซ้าย / ขวาเพื่อยุบ / ขยายย่อยต้นไม้. Double clicking with the mouse also toggles expansion. ดับเบิลคลิกกับเมาส์ยังขยายสลับ.
To make this feature accessible we need to: คุณลักษณะนี้เพื่อให้สามารถเข้าถึงได้เราต้อง:
Inform assistive technology about the role of each element ; แจ้ง assistive เทคโนโลยี เกี่ยวกับ บทบาท ของแต่ละ องค์ประกอบ;
Inform assistive technology about the relationships between tree items; แจ้ง assistive เทคโนโลยีเกี่ยวกับ ความสัมพันธ์ ระหว่างรายการต้นไม้;
Give a clear keyboard focus that will not confuse users with disabilities; and ให้โฟกัสแป้นพิมพ์ที่ชัดเจนว่าผู้ใช้จะไม่สับสนพิการและ
Expose the changing states (expanded and collapsed) of the the tree items. แสดงการเปลี่ยนแปลงของ รัฐ (ขยายและยุบ) ของต้นไม้รายการ.
Following the steps below: ทำตามขั้นตอนด้านล่าง:
Look at the native markup language ดูที่พื้นเมืองภาษามาร์คอัป
Although standard list behavior is supported by the native ul and li elements in HTML , there is no element that natively supports list expansion and selection. แม้ว่ามาตรฐานพฤติกรรมรายการได้รับการสนับสนุนจากการพื้นเมือง ul และ li องค์ประกอบใน HTML ที่ ไม่มีองค์ประกอบที่ natively สนับสนุนการขยายรายการและเลือก. Since there is not, we will need to use roles . เนื่องจากไม่มีเราจะต้องใช้ บทบาท.
Finding the right roles หาสิทธิบทบาท
Since there is no native tree element in HTML , we need to add roles from this taxonomy that support the additional states and properties needed. เนื่องจากไม่มีพื้นเมืองต้นไม้องค์ประกอบใน HTML ที่ เราต้องเพิ่มบทบาทนี้อนุกรมวิธานที่สนับสนุนเพิ่มเติมรัฐและสมบัติที่ต้องการ. The roles that support tree behavior are: บทบาทที่สนับสนุนต้นไม้พฤติกรรมคือ:
tree : A tree is the main container element for our tree. tree ต้นไม้เป็นหลักผอกองค์ประกอบเราต้นไม้. It is a form of a select where sub-level groups of treeitems may be collapsed and expanded. เป็นรูปแบบของ select ที่ย่อยในระดับกลุ่ม treeitems อาจขยายและยุบ.
treeitem : A treeitem is an option item of a tree. treeitem การ treeitem เป็นตัวเลือกรายการของต้นไม้. This is an element within a tree; sub-level groups of treeitems may be expanded or collapsed. นี่เป็นองค์ประกอบภายในต้นไม้; ย่อยระดับกลุ่ม treeitems อาจขยายหรือยุบ.
group : A group encloses a set of sub-level treeitems. group กลุ่ม encloses ชุดย่อยระดับ treeitems.
Look for groups and build relationships มองหากลุ่มและสร้างความสัมพันธ์
Tree relationships can be made simply via the DOM and logical structure of the page. ต้นไม้สัมพันธ์ได้เพียงผ่าน DOM และจิคัลโครงสร้างของเพจ. A tree element will be the main container encompassing all other elements in the tree. ต้นไม้องค์ประกอบจะหลัก encompassing ภาชนะอื่นๆทั้งหมดองค์ประกอบในต้นไม้. Each selectable item in the tree will be a treeitem. เลือกแต่ละรายการในต้นไม้จะเป็น treeitem.
When a treeitem contains an embedded list of treeitems they will be all embedded in a group. เมื่อ treeitem มีการฝัง treeitems รายการของพวกเขาจะถูกฝังทั้งหมดในกลุ่ม. A group should be contained inside the tree item that is the parent item. กลุ่มควรบรรจุภายในต้นไม้รายการที่เป็นแม่รายการ.
ที่มา http://translate.google.co.th/translate?hl=th&sl=en&u=http://www.w3.org/TR/wai-aria/&ei=bcdBSo_cK4ygkQXq3Zz5CA&sa=X&oi=translate&resnum=5&ct=result&prev=/search%3Fq%3Drich%2Binternet%26hl%3Dth
ไม่มีความคิดเห็น:
แสดงความคิดเห็น