Hi,
On Mon, Nov 2, 2009 at 10:41 AM, Vincent Massol <vincent(a)massol.net> wrote:
Hi devs,
Can I get some votes on whether we want to do this or not?
So far I've only received a -0 from Marius but on a specific item and
not in general.
I'd like that we start working on this ASAP by doing the following:
- Execute the tests on XE pages
- Creating discrete jira issues whenever there are problems on pages,
small enough so that they can be tackled one by one
- Start fixing the issues
Thanks
-Vincent
On Oct 28, 2009, at 8:41 PM, Vincent Massol wrote:
Hi devs,
We've always tried to follow standards in the XWiki project. I'd
like to propose that we start adhering to the WCAG ones to make
XWiki even more accessible.
The reason I'm proposing this is because XWiki SAS has been
contacted by some Dutch organization promoting the usage of
standards in Netherlands and they're interested in using XWiki for
their site. As such they need that the wiki they use also follows
the guidelines... They've found XWiki since it was one of the wikis
out there that follows most closely the guidelines.
This is our opportunity to meet the WCAG guidelines and go even
beyond (since the Dutch guidelines go slightly further I believe,
see
http://www.webrichtlijnen.nl/english/guidelines/). We would be
the first wiki to meet this!
If we agree we'll need to find some ways to automate the execution
of the verifications. Right now we can test pages using this
validator:
http://www.webrichtlijnen.nl/english/test/
I've started verifying this page:
http://playground.xwiki.org/xwiki/bin/view/Main/
Result:
http://www.webrichtlijnen.nl/english/test/report/74721/179372/
Some examples of failing stuff:
1) Style attribute forbidden. Everything from CSS.
Ex from home page:
<div id="globallinks"> <form
action="/xwiki/bin/view/Main/WebSearch"
style="margin: 0; padding: 0;"> <div id="globalsearch">
<input
id="globalsearchinput" type="text" name="text"
value="search..."
size="15" class="withTip"/><input class="button"
value="Go"
type="image" src="/xwiki/resources/icons/xwiki/search.png"/>
</div>
</form> </div>
...
<div class="hidden" id="spSpaceCreateForm"><form
action="/xwiki/bin/
view/Main/?xpage=create" method="post"> <div> <input
name="tocreate"
type="hidden" value="space"></input> <input
class="panelinput"
name="title" onblur="if(this.value=='') this.value='Space
name'"
onfocus="if(this.value=='Space name') this.value=''"
style="margin:auto;" type="text" value="Space
name"></input> <input
type="submit" value="Create"></input> </div>
</form> </div>
...
<p style="font-size:0.75em;padding-left:8px;"><a
href="/xwiki/bin/
inline/Panels/QuickLinks">(Edit this panel)</a></p>
2) Need to run CSS Level 2.1 validation. Lots of error. For ex on
home page:
http://bit.ly/4x9YlM
3) Apparently we made a mistake by choosing to have 2 H1 (one for
title and for headers). "The document hierarchy contains more that
one h1 tags .".
Before going further I'd like to ensure that we all agree to follow
these guidelines and put in our best practices (and ensure we verify
with some automated tests later on).
Here's my +1
I'm +1 too.
By the way, I've been playing around with XWiki and Lynx over the weekend
and the result is pretty much ok both in view and in wiki edition mode (I
was able to edit and save a page easily). There's a lot of "menu" clutter
at
the top of the page though :-)
Anyway, the experiment with a text-based web browser leads me to think that
following the guidelines and creating an accessible tool will also lead us
to create a leaner solution: when looking at the wiki as text-only, plenty
of ideas on how to improve it spring to mind.
Guillaume
PS: Sergiu, if you know how to add a line between 2 written lines in a
TextArea in Lynx I'd like to learn about it: so far when hitting 'Return' at
the end of a line the cursor goes to the next line but does not add a new
line between my 2 existing lines
Thanks
-Vincent
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/