HaTeMiLe for JEE is a library that help developers to convert a HTML code in a code more accessible for Java EE web applications.
- Associate HTML elements;
- Provide a polyfill to CSS Speech and CSS Aural properties;
- Display inacessible informations of page;
- Enable all functionality of page available from a keyboard;
- Improve the acessibility of forms;
- Provide accessibility resources to navigate.
To generate the full API documentation of HaTeMiLe for JEE:
- Install Maven;
- Execute the command
mvn site
in HaTeMiLe for JEE directory.
Step 1. Add the JitPack repository to your build file
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Step 2. Add the dependency
<dependency>
<groupId>com.github.hatemile</groupId>
<artifactId>hatemile-jee</artifactId>
<version>1.0.0</version>
</dependency>
Step 1. Add it in your root build.gradle at the end of repositories
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Step 2. Add the dependency
dependencies {
compile 'com.github.hatemile:hatemile-jee:1.0.0'
}
Step 1. Add it in your build.sbt at the end of resolvers
resolvers += "jitpack" at "https://jitpack.io"
Step 2. Add the dependency
libraryDependencies += "com.github.hatemile" % "hatemile-jee" % "1.0.0"
Step 1. Add it in your project.clj at the end of repositories
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
:dependencies [[com.github.hatemile/hatemile-jee "1.0.0"]]
Configure the filter in the web.xml
file in the web application /WEB-INF directory.
You will need the following entries in the element:
<filter>
<filter-name>AccessibleFilter</filter-name>
<filter-class>org.hatemile.jee.AccessibleFilter</filter-class>
<init-param>
<!-- HaTeMiLe for JEE paramters -->
<param-name>provide-all-speak-properties</param-name>
<param-value>false</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>AccessibleFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
Associate all data cells with header cells of all tables.
Value pattern: [true | false]
Associate all labels with fields.
Value pattern: [true | false]
Provide the CSS features of speaking and speech properties in all elements.
Value pattern: [true | false]
Display the alternative text of all images.
Value pattern: [true | false]
Display the headers of each data cell of all tables.
Value pattern: [true | false]
Display that an elements have drag-and-drop events.
Value pattern: [true | false]
Display the language of all elements.
Value pattern: [true | false]
Display the attributes of all links.
Value pattern: [true | false]
Display the WAI-ARIA roles of all elements.
Value pattern: [true | false]
Display the titles of all elements.
Value pattern: [true | false]
Display all shortcuts.
Value pattern: [true | false]
Display the WAI-ARIA attributes of all elements.
Value pattern: [true | false]
Make all click events available from a keyboard.
Value pattern: [true | false]
Make all Drag-and-Drop events available from a keyboard.
Value pattern: [true | false]
Make all hover events available from a keyboard.
Value pattern: [true | false]
Mark that the fields have autocomplete.
Value pattern: [true | false]
Mark that the fields have range.
Value pattern: [true | false]
Mark that the fields is required.
Value pattern: [true | false]
Mark a solution to display that a fields are invalid.
Value pattern: [true | false]
Provide an alternative way to access the longs descriptions of all elements.
Value pattern: [true | false]
Provide navigation by headings.
Value pattern: [true | false]
Provide navigation by content skippers.
Value pattern: [true | false]
Hide visual changes of HaTeMiLe.
Value pattern: [true | false]
The configuration path of HaTeMiLe for Java, without properties extension.
If you want contribute with HaTeMiLe for JEE, read contributing guidelines.