On Sun, 2005-06-19 at 12:01 +1000, Andreas Boehmer [Addictive Media] wrote: > Yeah, I have got the feeling it is list-obsessive and I really hope there is > a better way out of it. The reason I cannot simply put both icons into <a> > tags is that they have to be separated by more than just space for > accessibility reasons. So this: > > <a href="/edit" title="Edit"><img src="edit.png" alt="Edit" /></a> > <a href="/delete" title="Delete"><img src="delete.png" alt="Delete" /></a> > > wouldn't work. > > See: http://www.w3.org/TR/WCAG10-TECHS/#tech-divide-links (Checkpoint 10.5)
Yep, but is there anything inherently wrong with doing <a href="/edit" title="Edit"><img src="edit.png" alt="Edit" /></a> <a href="/delete" title="Delete"><img src="delete.png" alt="Delete" /></a> (note the space)? Failing that, how about something like this: <ul> <li> <ul> <li><a href="/edit" title="Edit"><img src="edit.png" alt="Edit" /></a></li> <li><a href="/delete" title="Delete"><img src="delete.png" alt="Delete" /></a></li> <li>Folder <ul> <li><a href="/edit" title="Edit"><img src="edit.png" alt="Edit" /></a></li> <li><a href="/delete" title="Delete"><img src="delete.png" alt="Delete" /></a></li> <li>Subfolder</li> </ul> </li> </ul> </li> </ul> IMO, the non-link example is not only far lighter in terms of markup, but also offers a similar degree of semantic integrity - that is, there is no significant relationship between the actual data (e.g. folder names) and the interface (e.g. edit/delete links) better represented through use of lists than simply with anchors. Kind Regards, Joshua Street base10solutions Website: http://www.base10solutions.com.au/ Phone: (02) 9898-0060 Fax: (02) 8572-6021 Mobile: 0425 808 469 Multimedia Development Agency ________________________________________________________________________ E-mails and any attachments sent from base10solutions are to be regarded as confidential. Please do not distribute or publish any of the contents of this e-mail without the sender’s consent. If you have received this e-mail in error, please notify the sender by replying to the e-mail, and then delete the message without making copies or using it in any way. Although base10solutions takes precautions to ensure that e-mail sent from our accounts are free of viruses, we encourage recipients to undertake their own virus scan on each e-mail before opening, as base10solutions accepts no responsibility for loss or damage caused by the contents of this e-mail. ________________________________________________________________________ ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************