W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > January to March 2008

RE: Style sheet switcher (was RE: technique drafts)

From: Cynthia Shelly <cyns@exchange.microsoft.com>
Date: Thu, 10 Jan 2008 09:54:24 -0800
To: Christophe Strobbe <christophe.strobbe@esat.kuleuven.be>, WCAG <w3c-wai-gl@w3.org>
Message-ID: <EC00246575819245B066C20F77051F295D6F892BD9@df-whippet-msg.exchange.corp.microsoft.com>

In that case, I am probably not the best person to write this technique.  Would you like to take it, Christophe?

-----Original Message-----
From: w3c-wai-gl-request@w3.org [mailto:w3c-wai-gl-request@w3.org] On Behalf Of Christophe Strobbe
Sent: Thursday, January 10, 2008 8:46 AM
To: WCAG
Subject: Style sheet switcher (was RE: technique drafts)



At 11:25 8/01/2008, Christophe Strobbe wrote:

>Hi Cynthia,
>
>At 22:41 7/01/2008, Cynthia Shelly wrote:
>>(...)
>>I have questions on these
>>* Cynthia to create technique for swapping style sheet. I think
>>this technique is the same one: Using JavaScript to change the link texts [3]
>
>I'd rather treat these as two different techniques.
>In HTML, link text is what you put between the <a ...> and </a>
>tags, but a <link rel="stylesheet" ... /> element doesn't have link
>text. The separation of these techniques would also enable the
>choice of technique titles that tell you what to expect, instead of
>a vague one that tries to cover both ("Using JavaScript to change
>link properties"?).

In my previous response, I had not checked the background of the
action item: it came from a discusion on hiding link text (issues
2008 and 2325 in our previous draft:
<http://www.w3.org/2002/09/wbs/35422/20071025link/results#x2008>; see
SC 2.4.4 Link Purpose (In Context)).
However, a seperate style sheet switcher technique would also be
relevant to some other SCs, like 1.4.8 - Visual Presentation.
(Style sheet switchers can be implemented on the client side - e.g.
<http://www.alistapart.com/articles/alternate/> - or on the server
side - e.g.
<http://www.456bereastreet.com/archive/200608/build_your_own_php_style_sheet_switcher/>,
<http://mikecherim.com/gbcms_xml/news_page.php?id=12> - or on the
client side with a servers-side fallback:
<http://www.glennyonemitsu.com/blog/2007/02/graceful-degradation-with-style-switching/>).

Best regards,

Christophe


>Swapping stylesheets is an issue that also came up yesterday on the
>SVG developers list:
><http://tech.groups.yahoo.com/group/svg-developers/message/59774>.
>In SVG, it requires changing a processing instruction instead of a
>link element.
>
>Best regards,
>
>Christophe
>
>>(...)
>>[3]
>>http://trace.wisc.edu/wcag_wiki/index.php?title=Using_JavaScript_to_change_the_link_texts
>
>---
>Please stop inviting me to LinkedIn, Facebook, Quechup or other
>anti-social networks. You may have agreed to their "privacy policy",
>but I haven't.
>
>--
>Christophe Strobbe
>K.U.Leuven - Dept. of Electrical Engineering - SCD
>Research Group on Document Architectures
>Kasteelpark Arenberg 10 bus 2442
>B-3001 Leuven-Heverlee
>BELGIUM
>tel: +32 16 32 85 51
>http://www.docarch.be/


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
Received on Thursday, 10 January 2008 17:54:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:47:52 GMT