>> On 10/19/05, Mike Brown wrote:
>> This really is a rhetorical question born of frustration...
>> It would certainly help in producing accessible forms if we didn't 
>> have to say, "we can use legend and be properly accessible, or we can 
>> use heading and be able to place it where we want, but we can't use 
>> legend and place/style how we want. Choose one".

> On 10/19/05, Joshua Street wrote:
> Yes.

Yes, yes ... please, god!

Logically speaking (correct me if I'm wrong here): a legend should simply be
handled as a block-level element that is required as the first-child of a
fieldset element.

In terms of document flow, this would mean you would get something like this
by default:

[fieldset]
--------------------------------------
|[legend]                            |
|------------------------------------|
||[legend text node]                ||
|------------------------------------|
|[related form inputs ...]           |
--------------------------------------

Browsers could then effect their own default relative positioning to place
it where they wanted, but it should be possible to overwrite this easily via
(most likely) CSS or (less likely) JavaScript.

Legends appear to work something like this in Firefox (although I haven't
looked into the fine details of how they are managed yet). However, it is a
source of continual frustration that this is not possible in other browsers,
notably Opera and IE.

Chris

********************************************************************************
   
DISCLAIMER: This e-mail is confidential and should not be used by anyone who is
not the original intended recipient. If you have received this e-mail in error
please inform the sender and delete it from your mailbox or any other storage
mechanism. Neither Macmillan Publishers Limited nor any of its agents accept
liability for any statements made which are clearly the sender's own and not
expressly made on behalf of Macmillan Publishers Limited or one of its agents.
Please note that neither Macmillan Publishers Limited nor any of its agents
accept any responsibility for viruses that may be contained in this e-mail or
its attachments and it is your responsibility to scan the e-mail and 
attachments (if any). No contracts may be concluded on behalf of Macmillan 
Publishers Limited or its agents by means of e-mail communication. Macmillan 
Publishers Limited Registered in England and Wales with registered number 
785998 
Registered Office Brunel Road, Houndmills, Basingstoke RG21 6XS   
********************************************************************************

Reply via email to