Hi Tsjebbe, Thanks for the reply but that's not what I'm after. Perhaps I haven't explained the problem clearly enough.
I need the search form to comply with W3C Web Content Accessibility Guidelines, and therefore form fields must be explicitly associated with labels
as specified in Checkpoint 12.4, and described here: http://www.w3.org/TR/WCAG10-HTML-TECHS/#forms-labels
The fields are generated by htdig placeholders such as $(METHOD), $(FORMAT), and $(SORT). I need to make the output from these placeholders contain id attributes so that I can explicitly associate labels with those fields.
I hope that's clearer, thanks again for your suggestion.
Martin Budden
Hi Martin,
On Tue, 14 Sep 2004 [EMAIL PROTECTED] wrote:
> Hi, how do I get htdig to add id attributes to all the auto-generated
> fields?
>
> I want to make htdig fully accessible, and therefore I want to use field
> labels with all the fields. For example, instead of this:
>
> Match: <SELECT name=method> ...etc
>
> I want it to generate fully accessible HTML like this:
>
> <label for="" <SELECT id=method name=method> ...etc
>
> It's easy for me to add the label tags, but how do I get htdig to add id
> attributes to all the auto-generated fields?
>
We solved this by including metatags in the header of the generated HTML
pages.
By submitting from each field for every word a two-letter combination
(e.g. QQ=2000) for the date field containing the year two-thousand, we can
have searches for the pages containing the year 2000 in the date field.
By giving metatags keywords a higher weighing factor we make sure that
this is functioning.
The databases are available on http://www.occasio.net
(based on newsgroup articles, e.g. with the advanced search one can search
for Bali in the newsgroup reg.indonesia).
Hope this may point you to a possibility you may be able to use to get
htdig working with field labels.
With kind regards,
Tsjebbe de Vries
Antenna Foundation
The Netherlands
- [htdig] field ids to use with labels? Martin . Budden
- Re: [htdig] field ids to use with labels? Tsjebbe de Vries
- Re: [htdig] field ids to use with labels? Joe R. Jah
- Re: [htdig] field ids to use with labels? Martin . Budden
- Re: [htdig] field ids to use with labels? Martin . Budden