Leader of Birmingham.pm [pm.org] and a CPAN author [cpan.org]. Co-organised YAPC::Europe in 2006 and the 2009 QA Hackathon, responsible for the YAPC Conference Surveys [yapc-surveys.org] and the QA Hackathon [qa-hackathon.org] websites. Also the current caretaker for the CPAN Testers websites and data stores.
If you really want to find out more, buy me a Guinness
Links:
Memoirs of a Roadie [missbarbell.co.uk]
[pm.org]
CPAN Testers Reports [cpantesters.org]
YAPC Conference Surveys [yapc-surveys.org]
QA Hackathon [qa-hackathon.org]
In October 2004, the final phase of the DDA comes into force, which will mean many websites will need to be changed so they don't fall foul of the law. Especially seeing as the RNIB have already funded cases that have appeared in Crown Court. Allowing accessibilty to people who use screen readers and the like, I think its quite an important area of web design, as it enables as many people as possible to view your web pages. Previously my friend at the RNIB has made comments on my websites to prompt me to fix tags and such. But that was back in the days when I was just starting (1998). However, it should be noted that only services offered via the web (eg Airline ticket booking) are currently covered by the Act.
So I wondered if there is anything (in Perl) that can check your HTML to see whether it meets the requirements. As yet I haven't found anything. My thought was to create a module called HTML::Accessibilty, which can be called similar to Test::Pod, and can report on failings, missing titles, tab indices, etc. I've gone so far as to find a a few really useful sites. So when I have more time I may attempt this, unless someone with CFT decides to give it a go before me.
Interesting aside: use.perl striped all the 'title' attributes above, which are part of the accessibility requirement.
Bobby (Score:2)
There is Bobby [watchfire.com] which is Java based. It's not perfect but it's good at pointing out possible problems.
Bobby tests for both W3C WAI [w3.org] or US 508 [section508.gov], but it's not perfect. I don't know of other tools, if anyone else does I'd like to know about them.
I beleive that Betsie [sourceforge.net] the BBC's screen reader is Perl based, and open-source, but it's a little antiquated and it does struggle with really awful sites.
I believe that use Perl; hijacks the title tag to show the TLD of the link, if you have your settings configured t
-- "It's not magic, it's work..."
Re:Bobby (Score:2)
Decided a better name for the module might be HTML::Lint::Accessible seeing as it really is just an extension of HTML::Lint [cpan.org].
Re:Bobby (Score:2)
I've used Bobby on and off for a while. It's not perfect, it often says thinks like "have you checked this?" rather than tell you anything specific. As a result it reports both false positives, and misses actual problems, but it's a good first line.
I think that the more recent HTML Tidy [sourceforge.net] does some WAI checks too. As it's now a c library, and accessabile from Perl, (HTML::Tidy [cpan.org]) that's another avenue to look at.
At the end of the day, automated tools can only go so far, but they are a good place to start.
-- "It's not magic, it's work..."
Re:Bobby (Score:2)
Re:Bobby (Score:2)
This is true, it's an automated tool, and it can't know if object on the page is accessible, important or trivial padding. It's a good first line, but that's all.
Many web automated web page creation tools do produce awful and inaccessible web pages, so at the end of the day all pages need to be checked by hand to be sure that they are good. Like you said simple minded rules in Dreamweaver are not going to make web sites accessible, people need to think for them selves to produce good sites, instead of rel
-- "It's not magic, it's work..."
Re:Bobby (Score:1)
Ew, regex based HTML parsing [sourceforge.net]!
Re: The Accessible Web (Score:1)
We used tidy to validate WAI-level 1 conformity and it worked quite well. (although we used the command line version, as the lib wasn't really finished then).
To convert the messy HTML to valid HTML we used HTML::Parser and a hell lot of code specially tailored to this project. I do not think that you can write up a generally working
Re: The Accessible Web (Score:2)
[1] I couldn't envisage editing 20,000 pages!
if you use mozilla/firebird/netscape... (Score:2)