|
1 | | -# hatemile-jee |
| 1 | +# HaTeMiLe for JEE |
| 2 | + |
2 | 3 | HaTeMiLe for JEE is a library that help developers to convert a HTML code in a code more accessible for Java EE web applications. |
| 4 | + |
| 5 | +## Accessibility solutions |
| 6 | + |
| 7 | +* [Associate HTML elements](https://github.com/carlsonsantana/HaTeMiLe-for-Java/wiki/Associate-HTML-elements); |
| 8 | +* [Provide a polyfill to CSS Speech and CSS Aural properties](https://github.com/carlsonsantana/HaTeMiLe-for-Java/wiki/Provide-a-polyfill-to-CSS-Speech-and-CSS-Aural-properties); |
| 9 | +* [Display inacessible informations of page](https://github.com/carlsonsantana/HaTeMiLe-for-Java/wiki/Display-inacessible-informations-of-page); |
| 10 | +* [Enable all functionality of page available from a keyboard](https://github.com/carlsonsantana/HaTeMiLe-for-Java/wiki/Enable-all-functionality-of-page-available-from-a-keyboard); |
| 11 | +* [Improve the acessibility of forms](https://github.com/carlsonsantana/HaTeMiLe-for-Java/wiki/Improve-the-acessibility-of-forms); |
| 12 | +* [Provide accessibility resources to navigate](https://github.com/carlsonsantana/HaTeMiLe-for-Java/wiki/Provide-accessibility-resources-to-navigate). |
| 13 | + |
| 14 | +## Documentation |
| 15 | + |
| 16 | +To generate the full API documentation of HaTeMiLe for JEE: |
| 17 | + |
| 18 | +1. [Install Maven](https://maven.apache.org/install.html); |
| 19 | +2. Execute the command `mvn site` in HaTeMiLe for JEE directory. |
| 20 | + |
| 21 | +## Usage |
| 22 | + |
| 23 | +Configure the filter in the `web.xml` file in the web application /WEB-INF directory. |
| 24 | + |
| 25 | +You will need the following entries in the <web-app> element: |
| 26 | + |
| 27 | +```xml |
| 28 | +<filter> |
| 29 | + <filter-name>AccessibleFilter</filter-name> |
| 30 | + <filter-class>org.hatemile.jee.AccessibleFilter</filter-class> |
| 31 | + <init-param> |
| 32 | + <!-- HaTeMiLe for JEE paramters --> |
| 33 | + <param-name>provide-all-speak-properties</param-name> |
| 34 | + <param-value>false</param-value> |
| 35 | + </init-param> |
| 36 | +</filter> |
| 37 | + |
| 38 | +<filter-mapping> |
| 39 | + <filter-name>AccessibleFilter</filter-name> |
| 40 | + <url-pattern>/*</url-pattern> |
| 41 | +</filter-mapping> |
| 42 | +``` |
| 43 | + |
| 44 | +### Filter parameters |
| 45 | + |
| 46 | +#### `associate-all-data-cells-with-header-cells` |
| 47 | + |
| 48 | +Associate all data cells with header cells of all tables. |
| 49 | + |
| 50 | +**Value pattern**: [true | false] |
| 51 | + |
| 52 | +#### `associate-all-labels-with-fields` |
| 53 | + |
| 54 | +Associate all labels with fields. |
| 55 | + |
| 56 | +**Value pattern**: [true | false] |
| 57 | + |
| 58 | +#### `provide-all-speak-properties` |
| 59 | + |
| 60 | +Provide the CSS features of speaking and speech properties in all elements. |
| 61 | + |
| 62 | +**Value pattern**: [true | false] |
| 63 | + |
| 64 | +#### `display-all-alternative-text-images` |
| 65 | + |
| 66 | +Display the alternative text of all images. |
| 67 | + |
| 68 | +**Value pattern**: [true | false] |
| 69 | + |
| 70 | +#### `display-all-cell-headers` |
| 71 | + |
| 72 | +Display the headers of each data cell of all tables. |
| 73 | + |
| 74 | +**Value pattern**: [true | false] |
| 75 | + |
| 76 | +#### `display-all-drags-and-drops` |
| 77 | + |
| 78 | +Display that an elements have drag-and-drop events. |
| 79 | + |
| 80 | +**Value pattern**: [true | false] |
| 81 | + |
| 82 | +#### `display-all-languages` |
| 83 | + |
| 84 | +Display the language of all elements. |
| 85 | + |
| 86 | +**Value pattern**: [true | false] |
| 87 | + |
| 88 | +#### `display-all-links-attributes` |
| 89 | + |
| 90 | +Display the attributes of all links. |
| 91 | + |
| 92 | +**Value pattern**: [true | false] |
| 93 | + |
| 94 | +#### `display-all-roles` |
| 95 | + |
| 96 | +Display the WAI-ARIA roles of all elements. |
| 97 | + |
| 98 | +**Value pattern**: [true | false] |
| 99 | + |
| 100 | +#### `display-all-titles` |
| 101 | + |
| 102 | +Display the titles of all elements. |
| 103 | + |
| 104 | +**Value pattern**: [true | false] |
| 105 | + |
| 106 | +#### `display-all-shortcuts` |
| 107 | + |
| 108 | +Display all shortcuts. |
| 109 | + |
| 110 | +**Value pattern**: [true | false] |
| 111 | + |
| 112 | +#### `display-all-wai-aria-states` |
| 113 | + |
| 114 | +Display the WAI-ARIA attributes of all elements. |
| 115 | + |
| 116 | +**Value pattern**: [true | false] |
| 117 | + |
| 118 | +#### `make-accessible-all-click-events` |
| 119 | + |
| 120 | +Make all click events available from a keyboard. |
| 121 | + |
| 122 | +**Value pattern**: [true | false] |
| 123 | + |
| 124 | +#### `make-accessible-all-drag-and-drop-events` |
| 125 | + |
| 126 | +Make all Drag-and-Drop events available from a keyboard. |
| 127 | + |
| 128 | +**Value pattern**: [true | false] |
| 129 | + |
| 130 | +#### `make-accessible-all-hover-events` |
| 131 | + |
| 132 | +Make all hover events available from a keyboard. |
| 133 | + |
| 134 | +**Value pattern**: [true | false] |
| 135 | + |
| 136 | +#### `mark-all-autocomplete-fields` |
| 137 | + |
| 138 | +Mark that the fields have autocomplete. |
| 139 | + |
| 140 | +**Value pattern**: [true | false] |
| 141 | + |
| 142 | +#### `mark-all-range-fields` |
| 143 | + |
| 144 | +Mark that the fields have range. |
| 145 | + |
| 146 | +**Value pattern**: [true | false] |
| 147 | + |
| 148 | +#### `mark-all-required-fields` |
| 149 | + |
| 150 | +Mark that the fields is required. |
| 151 | + |
| 152 | +**Value pattern**: [true | false] |
| 153 | + |
| 154 | +#### `mark-all-invalid-fields` |
| 155 | + |
| 156 | +Mark a solution to display that a fields are invalid. |
| 157 | + |
| 158 | +**Value pattern**: [true | false] |
| 159 | + |
| 160 | +#### `provide-navigation-to-all-long-descriptions` |
| 161 | + |
| 162 | +Provide an alternative way to access the longs descriptions of all elements. |
| 163 | + |
| 164 | +**Value pattern**: [true | false] |
| 165 | + |
| 166 | +#### `provide-navigation-by-all-headings` |
| 167 | + |
| 168 | +Provide navigation by headings. |
| 169 | + |
| 170 | +**Value pattern**: [true | false] |
| 171 | + |
| 172 | +#### `provide-navigation-by-all-skippers` |
| 173 | + |
| 174 | +Provide navigation by content skippers. |
| 175 | + |
| 176 | +**Value pattern**: [true | false] |
| 177 | + |
| 178 | +#### `hide-hatemile-changes` |
| 179 | + |
| 180 | +Hide visual changes of HaTeMiLe. |
| 181 | + |
| 182 | +**Value pattern**: [true | false] |
| 183 | + |
| 184 | +#### `configuration` |
| 185 | + |
| 186 | +The configuration path of HaTeMiLe for Java, without properties extension. |
| 187 | + |
| 188 | +## Contributing |
| 189 | + |
| 190 | +If you want contribute with HaTeMiLe for JEE, read [contributing guidelines](CONTRIBUTING.md). |
| 191 | + |
| 192 | +## See also |
| 193 | +* [HaTeMiLe for Java](https://github.com/carlsonsantana/HaTeMiLe-for-Java) |
| 194 | +* [HaTeMiLe for JavaScript](https://github.com/carlsonsantana/HaTeMiLe-for-JavaScript) |
0 commit comments