Re: Semantic Wrapper for Advertisements

This is helpful! Thank you.


Jeana Clark
Creative Director



> On Aug 12, 2020, at 12:40 PM, Léonie Watson <lwatson@tetralogical.com> wrote:
> 
> If the advert is pulled into the page using an iframe element, then you can use the title attribute to give the advertising block an accessible name. For example:
> 
> <iframe title="Advert" src="https://..."></iframe>
> 
> If the advert is embedded HTML then you can use the section element with an aria-label to do the same thing. For example:
> 
> <section aria-label="Advert">
> <!-- Advert content -->
> </section>
> 
> I wouldn't use an aside element because an advert is unlikely to be complementary to the page content, and "complementary" is the implicit role of that element so that's how screen readers announce it.
> 
> 
> Léonie.
> 
> On 12/08/2020 18:18, Jeana Clark wrote:
>> We have ads that are inserted into the middle of <article> content. Some of these ads are coded with HTML (not images) and have their own headers/h1s/etc.
>> What’s the proper semantic wrapper for this kind of content?
>> Sometimes the ads are part of an ad network like Adsense —the content in these ads has nothing to do with the <article> the reader is reading. So <aside> probably wouldn’t be correct here (as I understood aside needs to be related to the container). However, this page suggests an <aside> with a proper aria label would be just fine: https://www.w3.org/WAI/tutorials/page-structure/labels/ <https://www.w3.org/WAI/tutorials/page-structure/labels/>
>> I feel like this is an easy question and I’m totally missing some clear answer somewhere.
>> Thanks,
>> Jeana
>> ------------------------------------------------------------------------
>> *Jeana Clark*
>> Creative Director
>> jclark@veritashealth.com <mailto:jclark@veritashealth.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.
> 
> -- 
> Director @TetraLogical
> https://tetralogical.com

Received on Wednesday, 12 August 2020 17:42:30 UTC