WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: use of <pre> tag

for

From: deborah.kaplan
Date: Nov 5, 2010 8:48AM


Julie,

From the way you describe the legal data, it's possible that
adding semantic markup might be relatively simple to automate,
especially if you have anyone in the office who is skilled in
regular expressions. Recognizing the double spacing surround
paragraphs, lines in all caps are headings, that's fairly
straightforward. If your multi-level outlines are consistently
formatted, that's also a place for conversion to semantic markup
can be automated.

I don't think Microsoft Word's search and replace regular
expression capability is powerful enough, but it ought to be
fairly simple in Perl, or even in an editor such as vim or emacs.

Then, of course, a human would have to review it to make sure
that all the heading levels were correct and that all of the
preformatted text had been consistent.

-Deborah