W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2013

Best Practices For Clicking To Expand Text

From: Homme, James <james.homme@highmark.com>
Date: Mon, 6 May 2013 15:01:04 +0000
To: "w3c-wai-ig@w3.org" <w3c-wai-ig@w3.org>
Message-ID: <BF85B26B8ED7B647ACAD9C68E89DA55441113427@HMBREXMP03.highmark.com>
The goal is to present a simple document with pieces of expandable text or pieces of text that the reader can show or hide. I was thinking of making a simple JavaScript function that can swap CSS classes that would show or hide text on the ID of the element I feed it. When you click the piece of text before the text in question, it either shows the text, if the css for that element has the hide class, or hides the piece of text if it has the show class. Is this a good or bad thing to try? If not, what is a good way to do something like this that is relatively simple to implement?




This e-mail and any attachments to it are confidential and are intended solely for use of the individual or entity to whom they are addressed. If you have received this e-mail in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this e-mail without the author's prior permission. The views expressed in this e-mail message do not necessarily represent the views of Highmark Inc., its subsidiaries, or affiliates.
Received on Monday, 6 May 2013 15:18:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:36:44 UTC