Wiki

Version 19 (Ingmar Schlecht, 2011-11-02 10:39)

1 2 Patrick Broens
h1. Accessibility project
2 2 Patrick Broens
3 3 Patrick Broens
h2. Introduction
4 3 Patrick Broens
5 19 Ingmar Schlecht
For this project first a testing environment was be setup by Patrick Broens. This testing environment covered all Content Objects from the TYPO3 Core with all their possible settings.
6 2 Patrick Broens
7 19 Ingmar Schlecht
The testing environment used a very clean output, HTML and CSS, not to disturb any of the output the core renders. Multiple things were 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 4 Patrick Broens
13 5 Patrick Broens
h2. Tests
14 4 Patrick Broens
15 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)
16 8 Patrick Broens
17 4 Patrick Broens
* [[W3C tests on HTML 4.0 Transitional / XHTML 1.0 Transitional / XHTML 1.0 Strict / XHTML 1.1 / HTML 5]]
18 6 Patrick Broens
* [[Inline styles]]
19 7 Patrick Broens
* [[Markup]]
20 12 Patrick Broens
21 12 Patrick Broens
h2. Pending documentation for TSREF
22 12 Patrick Broens
23 12 Patrick Broens
filelink: target has now data type "target/stdWrap"
24 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.
25 13 Patrick Broens
GMENU: target has now data type "target/stdWrap"
26 13 Patrick Broens
TMENU: target has now data type "target/stdWrap"
27 13 Patrick Broens
IMGMENU: target has now data type "target/stdWrap"
28 13 Patrick Broens
JSMENU: target has now data type "target/stdWrap"
29 15 Patrick Broens
filelink: longdescURL has now data type "string/typolink"
30 15 Patrick Broens
FILE: longdescURL has now data type "string/typolink"
31 15 Patrick Broens
IMAGE: longdescURL has now data type "string/typolink"
32 15 Patrick Broens
IMGTEXT: longdescURL has now data type "string/typolink"
33 16 Patrick Broens
34 16 Patrick Broens
h2. Pending documentation for doc_core_api
35 16 Patrick Broens
36 16 Patrick Broens
In the part "Wizard scripts in the core" there is browse_links.php. This gets an extra configuration option:
37 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.
38 17 Ingmar Schlecht
39 17 Ingmar Schlecht
h2. Current status
40 17 Ingmar Schlecht
41 18 Ingmar Schlecht
•	Current state of HTML5 support in TYPO3 BLE Accessibility
42 18 Ingmar Schlecht
o	FIGURE and FIGCAPTION
43 18 Ingmar Schlecht
	instead of table and caption element
44 18 Ingmar Schlecht
o	headers 
45 18 Ingmar Schlecht
	using HEADER tag instead of wrapping div
46 18 Ingmar Schlecht
	when used with subheader HGROUP is used
47 18 Ingmar Schlecht
	TIME is used when the date has to be displayed
48 18 Ingmar Schlecht
o	menus
49 18 Ingmar Schlecht
	like menu sitemap uses a NAV element around it
50 18 Ingmar Schlecht
o	links
51 18 Ingmar Schlecht
	Links produced by typolink where not represented as NFC
52 18 Ingmar Schlecht
o	tables
53 18 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
54 18 Ingmar Schlecht
	Different solution for cellpadding/cellspacing (obsolete)
55 18 Ingmar Schlecht
	Change in border attribute which has a totally different meaning in HTML5
56 17 Ingmar Schlecht
57 18 Ingmar Schlecht
•	Current state of wai-aria support in TYPO3 BLE Accessibility
58 18 Ingmar Schlecht
o	longdesc attribute is not supported in HTML5, instead aria-describedby construction is used
59 17 Ingmar Schlecht
60 18 Ingmar Schlecht
•	Current state of WCAG 2.0 support in TYPO3 BLE Accessibility
61 18 Ingmar Schlecht
o	Possibility to add a "bypass navigation block" link to each option in cObj Menu/Sitemap
62 18 Ingmar Schlecht
o	Possibility to add wrapping MAP tag around navigation blocks
63 17 Ingmar Schlecht
64 18 Ingmar Schlecht
•	Other fixed things in TYPO3 BLE Accessibility
65 18 Ingmar Schlecht
o	W3C validation on all doctypes TYPO3 supports (css_styled_content & cms)
66 18 Ingmar Schlecht
o	target attribute is only added when explicitly set in doctypes which do not support frames
67 18 Ingmar Schlecht
o	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.
68 18 Ingmar Schlecht
o	Cleaner markup where ever possible
69 18 Ingmar Schlecht
o	cObj File links possibility to add alt text to file icons/thumbnails
70 17 Ingmar Schlecht
71 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.
72 17 Ingmar Schlecht
73 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.
74 17 Ingmar Schlecht
75 17 Ingmar Schlecht
WCAG 2.0 does not describe how to handle HTML5, which is awkward.