Hi everyone,
one of the most validation error we have with WCAG is about consecutive
line breaks: basically a <br /><br /> presents in a page.
This happens mostly in our translation pages since the linebreaks in
plain syntax are translated in <br /> tags.
Caty provided a lot of details about this error on the related issue:
https://jira.xwiki.org/browse/XWIKI-15666.
Currently we have around 140 validations failure because of this.
Different proposal have been made in order to fix it, that I will try to
sum-up here:
A. Remove completely this validation check
B. Add an exception for the translation pages
C. Triggers the error only if more than 2 consecutive breaks is
encountered
D. Create a rendering syntax dedicated to translation pages
A. Remove completely the validation check
pros:
* the easiest one
* apparently the rule is not checked in other accessibility test, so
its real purpose for accessibility is unclear
cons:
* IMO this rule is useful for checking the good practice of not using
<br />
B. Add an exception for the translation pages
pros:
* same as for A
cons:
* ?
C. Triggers the error only if more than 2 consecutive breaks is encountered
pros:
* ?
cons:
* we would miss some consecutive <br /> that are used only for style
and we would catch some others in translations if we do 3 linebreaks
instead of 2. IMO it's only moving the problem
D. Create a rendering syntax dedicated to translation pages
pros:
* remove completely the problem of consecutive <br /> in translations
* can maybe be used to present them in another way?
cons:
* need to develop/test/maintain a new rendering syntax
I'd personnaly vote like this:
A: +0
B: +1
C: -1
D: +0
WDYT?
Simon
--
Simon Urli
Software Engineer at XWiki SAS
simon.urli(a)xwiki.com
More about us at
http://www.xwiki.com