Wiki

Version 17 (Ingmar Schlecht, 2011-08-31 14:48)

1 2 Patrick Broens
h1. Accessibility project
2 2 Patrick Broens
3 3 Patrick Broens
h2. Introduction
4 3 Patrick Broens
5 11 Patrick Broens
For this project first a local testing environment will be setup by Patrick Broens. This testing environment will cover all Content Objects from the TYPO3 Core with all their possible settings. Once this environment is setup, a .t3d file will be posted here on the Wiki. Other participants or people who are interested in this project, can use this .t3d file to follow the progress of the project.
6 2 Patrick Broens
7 2 Patrick Broens
The testing environment will use a very clean output, HTML and CSS, not to disturb any of the output the core renders. Multiple things need to be checked and changed according to this check:
8 2 Patrick Broens
9 2 Patrick Broens
* W3C validation of HTML, XHTML and CSS
10 2 Patrick Broens
* Inline styles are not allowed
11 2 Patrick Broens
* Accessibility according to BITV
12 2 Patrick Broens
13 2 Patrick Broens
These checks and the outcome will be documented on this Wiki in week 30, including what has to be done and what has been done already. So the progress of the whole project is visible here.
14 2 Patrick Broens
15 2 Patrick Broens
The first issues which will be resolved are the inline styles. Some investigation has already been done, especially for the style="width: xxpx;" for images and captions. This can be resolved quite easily using a different markup and CSS2.1. Some other inline style issues are still there which need some investigation. These issues need CSS, which can be put in the stylesheets already generated in typo3temp/.
16 2 Patrick Broens
17 2 Patrick Broens
Stay tuned!
18 4 Patrick Broens
19 5 Patrick Broens
h2. Tests
20 4 Patrick Broens
21 10 Patrick Broens
There is a testing environment available which you can use locally or put it on a server. It consists of two files (t3d.tar.gz.part-xx) which have been splitted using the OSX split command and contains the T3D file for this setup. Next there is a file with the copy of the fileadmin folder (fileadmin.tar.gz)
22 8 Patrick Broens
23 4 Patrick Broens
* [[W3C tests on HTML 4.0 Transitional / XHTML 1.0 Transitional / XHTML 1.0 Strict / XHTML 1.1 / HTML 5]]
24 6 Patrick Broens
* [[Inline styles]]
25 7 Patrick Broens
* [[Markup]]
26 12 Patrick Broens
27 12 Patrick Broens
h2. Pending documentation for TSREF
28 12 Patrick Broens
29 12 Patrick Broens
filelink: target has now data type "target/stdWrap"
30 14 Patrick Broens
filelink: title has been added and has data type "string/stdWrap". This is the title attribute for the link, titleText and altText are used for the icon.
31 13 Patrick Broens
GMENU: target has now data type "target/stdWrap"
32 13 Patrick Broens
TMENU: target has now data type "target/stdWrap"
33 13 Patrick Broens
IMGMENU: target has now data type "target/stdWrap"
34 13 Patrick Broens
JSMENU: target has now data type "target/stdWrap"
35 15 Patrick Broens
filelink: longdescURL has now data type "string/typolink"
36 15 Patrick Broens
FILE: longdescURL has now data type "string/typolink"
37 15 Patrick Broens
IMAGE: longdescURL has now data type "string/typolink"
38 15 Patrick Broens
IMGTEXT: longdescURL has now data type "string/typolink"
39 16 Patrick Broens
40 16 Patrick Broens
h2. Pending documentation for doc_core_api
41 16 Patrick Broens
42 16 Patrick Broens
In the part "Wizard scripts in the core" there is browse_links.php. This gets an extra configuration option:
43 16 Patrick Broens
blindLinkFields -> string -> Comma separated list of fields that should not be displayed. Possible values are target, title, class and params. By default, all fields are displayed.
44 17 Ingmar Schlecht
45 17 Ingmar Schlecht
h2. Current status
46 17 Ingmar Schlecht
47 17 Ingmar Schlecht
Current state of HTML5 support in TYPO3 BLE Accessibility
48 17 Ingmar Schlecht
FIGURE and FIGCAPTION
49 17 Ingmar Schlecht
instead of table and caption element
50 17 Ingmar Schlecht
headers 
51 17 Ingmar Schlecht
using HEADER tag instead of wrapping div
52 17 Ingmar Schlecht
when used with subheader HGROUP is used
53 17 Ingmar Schlecht
TIME is used when the date has to be displayed
54 17 Ingmar Schlecht
menus
55 17 Ingmar Schlecht
like menu sitemap uses a NAV element around it
56 17 Ingmar Schlecht
links
57 17 Ingmar Schlecht
Links produced by typolink where not represented as NFC
58 17 Ingmar Schlecht
tables
59 17 Ingmar Schlecht
Removed summary attribute only for HTML5 which is not supported anymore. There is no real alternative for it. Nothing is done with this information in HTML5
60 17 Ingmar Schlecht
Different solution for cellpadding/cellspacing (obsolete)
61 17 Ingmar Schlecht
Change in border attribute which has a totally different meaning in HTML5
62 17 Ingmar Schlecht
63 17 Ingmar Schlecht
Current state of wai-aria support in TYPO3 BLE Accessibility
64 17 Ingmar Schlecht
longdesc attribute is not supported in HTML5, instead aria-describedby construction is used
65 17 Ingmar Schlecht
66 17 Ingmar Schlecht
Current state of WCAG 2.0 support in TYPO3 BLE Accessibility
67 17 Ingmar Schlecht
Possibility to add a "bypass navigation block" link to each option in cObj Menu/Sitemap
68 17 Ingmar Schlecht
Possibility to add wrapping MAP tag around navigation blocks
69 17 Ingmar Schlecht
70 17 Ingmar Schlecht
Other fixed things in TYPO3 BLE Accessibility
71 17 Ingmar Schlecht
W3C validation on all doctypes TYPO3 supports (css_styled_content & cms)
72 17 Ingmar Schlecht
target attribute is only added when explicitly set in doctypes which do not support frames
73 17 Ingmar Schlecht
Inline CSS has been removed. Markup has changed for cObj "Text with Images" and "Images" to get rid of all these inline width styles. When not possible to remove specific margins or widths, this has been moved to a css file instead of inline.
74 17 Ingmar Schlecht
Cleaner markup where ever possible
75 17 Ingmar Schlecht
cObj File links possibility to add alt text to file icons/thumbnails
76 17 Ingmar Schlecht
77 17 Ingmar Schlecht
css_styled_content Content Objects Search, Form are not covered by the project because other solutions will be used. The work on the MEDIA element is still in progress.
78 17 Ingmar Schlecht
79 17 Ingmar Schlecht
There is one problem with markup of cObj "Text with images" and "Images" together with WCAG 2.0. Table construction is used for this when there is a caption to get rid of all these width styles. CAPTION is not allowed by WCAG 2.0 for layout tables.
80 17 Ingmar Schlecht
81 17 Ingmar Schlecht
WCAG 2.0 does not describe how to handle HTML5, which is awkward.