>        <a id="openPopup1" href="#popup1">pop-up</a>
> 
> And the associated div had an id:
> 
>        <div id="popup1">...
> 
> The close link references the opening link:
> 
>        <a href="#openPopup1">Close</a>
> 
> Also shift the pop-up off-screen rather than display:none
> 
>        #popup1 {position: absolute; left:-500em; top:0}



Thanks Mike and Chad,

Curious, is there particular benefit to assign ID for such function concerning 
accessibility and AT?  

>> 
>> 
>> 
> Pop-ups are a hard thing to get correct for accessibility.
> As is the case for everything else some screen readers handle them better 
> then others.
> 

Maybe true in the old dasy.

The use of such Popup is more of a design consideration (e.g. spacing saving) 
and it obscures no accessibility as far as content is concerned,  therefore I 
do not see the real needs to assign ID (though part of the reason is that I try 
to avoid inserting more codes into template files and write extra lines of 
javascript).

P/s. There is no display none in the example's markup. I never picked up that 
bad habit.

tee



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************

Reply via email to