Re: Heading inside Caption - all good?

Welcome Louise, yes it seems pretty nice to me too : )


I am hoping I have not missed something and that this is a good technique, that I was just not aware of.

?

Regards, Alan


________________________________
From: Louise Lister <Louise.Lister@iop.org>
Sent: Wednesday, July 28, 2021 8:48 AM
To: Bristow, Alan; w3c-wai-ig@w3.org
Subject: RE: Heading inside Caption - all good?

Ce message a été envoyé par un expéditeur externe. Veuillez faire preuve de prudence et ne pas cliquer sur les liens ou ouvrir les pièces jointes à moins de reconnaître l'expéditeur et de savoir que le contenu est sûr.

This message was sent from an external sender. Please exercise caution and do not click links or open attachments unless you recognize the sender and know the content is safe.




Wow, that's quite exciting ??

But I am easily pleased.

Thank you!
Louise

-----Original Message-----
From: Bristow, Alan <Alan.Bristow@elections.ca>
Sent: 28 July 2021 13:42
To: w3c-wai-ig@w3.org<mailto:w3c-wai-ig@w3.org>
Subject: Heading inside Caption - all good?

?Hi,

With the Content Model in HTML5 for the CAPTION tag being Flow content (which includes H1 - H6), I am proposing to title TABLES as follows:...

<table>
<caption><h4>Cat food preferences</h4></caption> ...
</table>

...rather than a H# tag above the TABLE and a CAPTION inside it (often with somewhat duplicated/similar text).

Audio AT users previewing the main areas of a page will then hear a TABLE announced (due to the presence of the H# tag), and there is a programmatic relationship between title text and the TABLE due to the use of CAPTION.

If you know of any negative impact to the use of H# inside CAPTION I would be interested to hear. Thanks.

Cheers,

Alan

-Alan Bristow
Web Programmer
Elections Canada
alan.bristow@elections.ca<mailto:alan.bristow@elections.ca>


________________________________
This email (and attachments) are confidential and intended for the addressee(s) only. If you are not the intended recipient please immediately notify the sender, permanently and securely delete any copies and do not take action with it or in reliance on it. Any views expressed are the author's and do not represent those of IOP, except where specifically stated. IOP takes reasonable precautions to protect against viruses but accepts no responsibility for loss or damage arising from virus infection. For the protection of IOP's systems and staff emails are scanned automatically..

Institute of Physics. Registered charity no. 293851 (England & Wales) and SCO40092 (Scotland)
Registered Office:  37 Caledonian Road, London, N1 9BU<https://goo.gl/maps/DUHbKcbzuUN2>

Your privacy is important to us. For information about how IOP uses your personal data, please see our Privacy Policy<https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.iop.org%2Fprivacy%2Findex.html&data=02%7C01%7C%7C6716aa3c6fd84da5102808d5c0b234a0%7Cf9ee42e6bad04e639115f704f9ccceed%7C0%7C0%7C636626793962820374&sdata=RI6OT4MumRlklNzF5i2M9ZxS6P%2FxxLg%2FJwcnMJ%2B0480%3D&reserved=0>

________________________________

Received on Wednesday, 28 July 2021 12:52:44 UTC