- From: Marc Haunschild <haunschild@mhis.onmicrosoft.de>
- Date: Tue, 19 Nov 2019 18:20:17 +0000
- CC: W3C WAI ig <w3c-wai-ig@w3.org>
- Message-ID: <B907C808-7F77-4743-97B9-46186DDE1CAE@mhis.onmicrosoft.de>
Then its a matter of presentation (CSS) not semantics (HTML). Respect the separation of concerns principle and things will become much easier. Flex box offers a easy way to make space between two elements when using margin: auto for example - in this gap you can place your add - although I still might not understand all aspects of your particular component, I think I would use something like this <ul> <li>{text}</li> <li>{text}</li> <li>{text}</li> <li>{advertisement}</li> </ul> With order you can rearrange the items and by putting the ad at the end you don’t interrupt the logical order In a future redesign you won't need to touch the HTML - all changes can be made in the CSS (or SASS/LESS if you prefer to work with a preprocessor) Marc On 19. Nov 2019, at 18:58, Jeana Clark <jclark@veritashealth.com<mailto:jclark@veritashealth.com>> wrote: Hi Patrick - Thanks for your comment. The problem is we want to put an ad in the middle of a list - but not make it a list item. So sometimes if it’s a numbered list, we will close the list, insert the ad, and restart the list (hence start=“3” on the ol) ________________________________ Jeana Clark Creative Director Tel: 847.607.8577 jclark@veritashealth.com<mailto:jclark@veritashealth.com> [Veritas Health, LLC]<https://www.veritashealth.com/> [Inc Best Workplace] Spine-health.com<https://www.spine-health.com/> | Arthritis-health.com<https://www.arthritis-health.com/> Sports-health.com<https://www.sports-health.com/> | Pain-health.com<https://www.pain-health.com/> *** CONFIDENTIALITY NOTICE*** This message and any included attachments are from Veritas Health, LLC (owner and operator of Spine-health.com<http://spine-health.com/>, Arthritis-health.com<http://arthritis-health.com/>, Sports-health.com<http://sports-health.com/> and Pain-health.com<http://pain-health.com/>) and are intended for the addressee only. The contents in this message may contain confidential information belonging to the sender that is legally privileged. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or contact the Veritas Health, LLC at admin@veritashealth.com<mailto:admin@veritashealth.com>. Veritas Health reserves the right to view all communications into and out of the company and senders shall have no expectation of privacy. On Nov 19, 2019, at 11:48 AM, Patrick H. Lauke <redux@splintered.co.uk<mailto:redux@splintered.co.uk>> wrote: On 19/11/2019 17:12, Jeana Clark wrote: Sometimes the lists were used as a design solution… writers wanted to make the content more ’scannable’, and they really aren’t list items. They’re just bulleted, indented paragraphs — those I can deal with with redesign. But sometimes they are ‘lists’ as like, here are 5 treatments for your lower back pain.. but each ‘list item’ is a thorough multi-paragraphed description of the treatment, within a list item. Even in those cases, you should be able to just stick them all in an <li>...</li> without the need for breaking up a list and starting it at a particular number later, unless I'm missing something. P -- Patrick H. Lauke www.splintered.co.uk<http://www.splintered.co.uk/> | https://github.com/patrickhlauke http://flickr.com/photos/redux/ | http://redux.deviantart.com<http://redux.deviantart.com/> twitter: @patrick_h_lauke | skype: patrick_h_lauke
Received on Tuesday, 19 November 2019 18:20:26 UTC