Accessibility"
From Documentation
m |
|||
Line 1: | Line 1: | ||
{{ZKComponentReferencePageHeader}} | {{ZKComponentReferencePageHeader}} | ||
− | + | The za11y module (currently ''preview'') enables developers to create WCAG 2 compliant applications. | |
= Specify ARIA Attributes= | = Specify ARIA Attributes= |
Revision as of 10:31, 15 September 2020
The za11y module (currently preview) enables developers to create WCAG 2 compliant applications.
Specify ARIA Attributes
You can specify arbitrary ARIA attribute on a component with namespace "client/attribute". For example you can add an aria-label like
<zk xmlns:ca="client/attribute">
<textbox ca:aria-label="price"/>
<textbox ca:aria-label="${field}"/>
</zk>
Note: the following subsections are only applied for ZK EE version only.
[Since ZK 9.5.0]