Accessibility"

From Documentation
Line 1: Line 1:
 
{{ZKComponentReferencePageHeader}}
 
{{ZKComponentReferencePageHeader}}
  
The za11y (zk-accessibility) module (currently in ''preview'') enables developers to create WCAG 2 compliant applications. Key features include keyboard interaction and screen reader support. An accessibility-ready theme (wcag*) should be used along with the module to deliver sufficient contrast.
+
{{versionSince| 9.5.0}}
  
A za11y demo project can be found [https://github.com/zkoss-demo/za11y-demo in github].
 
  
= Installation =
+
This chapter describes each component's detailed accessibility information including keyboard support and some important ARIA attributes.
Be sure to include za11y.jar to your project and specify one of the accessibility-ready themes.
 
  
= Specify ARIA Attributes=
 
You can specify arbitrary ARIA attribute on a component with [https://www.zkoss.org/wiki/ZUML_Reference/ZUML/Namespaces/Client_Attribute namespace "client/attribute"]. For example you can add an <tt>aria-label</tt> like
 
  
<source lang='xml'>
+
For general accessibility information, please refer to [[ZK_Developer's_Reference/Accessibility]].
<zk  xmlns:ca="client/attribute">
 
    <div ca:aria-hidden="true"/>
 
    <textbox ca:aria-label="${field}"/>
 
</zk>
 
</source>
 
  
 +
 +
{{ZK EE}}
 
Note: the following subsections are only applied for ZK EE version only.
 
Note: the following subsections are only applied for ZK EE version only.
[Since ZK 9.5.0]
+
 
  
 
{{ZKComponentReferenceHeadingToc}}
 
{{ZKComponentReferenceHeadingToc}}
  
 
{{ZKComponentReferencePageFooter}}
 
{{ZKComponentReferencePageFooter}}

Revision as of 07:07, 28 September 2020


Accessibility

Since 9.5.0


This chapter describes each component's detailed accessibility information including keyboard support and some important ARIA attributes.


For general accessibility information, please refer to ZK_Developer's_Reference/Accessibility.


  • Available for ZK:
  • http://www.zkoss.org/product/zkhttp://www.zkoss.org/whyzk/zkeeVersion ee.png

Note: the following subsections are only applied for ZK EE version only.





Last Update : 2020/09/28

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.