ACTION-58: - investigate use cases for genericizing @for to ascertain if should be added to common/core attributes

- investigate use cases for genericizing @for to ascertain if should be added to common/core attributes

State:
closed
Person:
Gregory Rosmaita
Due on:
March 17, 2009
Created on:
March 10, 2009
Associated Issue:
for/id for Text Module
Related emails:
  1. [XHTML] minutes: virtual f2f, 2009-03-10 [draft] (from oedipus@hicom.net on 2009-03-10)

Related notes:

as documented on the XHTML2 Wiki:

http://www.w3.org/MarkUp/xhtml2/wiki/ProposedElements/forAttribute

the CURRENT proposal is to add the "for" attribute to the XHTML2 Text Module

http://www.w3.org/MarkUp/2009/ED-xhtml2-20090205/mod-text.html#s_textmodule

Proposed

1. That the for/id mechanism, which is already broadly supported in
user agents and assistive technologies, be repurposed and extended
in XHTML2 to provide explicit bindings between labelling text and
the object or objects that text labels;

2. That the for/id mechanism serve as a means of re-using values for:
1. ABBR
2. D (the single letter "dialogue" element)
3. DFN;

3. That the for/id mechanism serve as a means of binding a quotation,
contained in the Q element, and a corresponding CITE declaration
which identifies the source of the quote;

4. That the for/id mechanism serve as a means of marking text which
has been inserted, contained in an INS, and that which it is
intended to replace, contained in a DEL tag, as illustrated below;
_________________________________________________________________

Example/Sample Code

ABBR and @for

<ABBR id="a1" title="Modularization">M12n</ABBR>
...
<ABBR for="a1">M12n</ABBR>

DFN and @for

<DFN id="a2" title="Accessibility"><ABBR>A11y</ABBR></DFN>
...
<ABBR for="a2">A11y</ABBR>

INS and DEL Bound by @for

<INS id="insert13">This is the new text</INS>
<DEL for="insert11">This is the text to be deleted.</DEL>

Binding a Quote to a CITE using @for

<section role="main">
<q for="fdr3i"
href="http://www.hicom.net/~oedipus/exegesis/fdr-third-inaugural.html#fdr3ip36s
1"
>In the face of great perils never before encountered, our
strong purpose is to protect and to perpetuate the integrity of
democracy.</q>
<!-- ... -->
</section>
<!-- ... -->
<section role="secondary">
<!-- ... -->
<h id="biblio">Bibliography</h>
<!-- ... -->
<ol>
<li role="contentinfo"><cite id="fdr3i"
src="http://www.fdrpapers.gov/fdr3i.html"
>Roosevelt, Franklin Delano. Third Inaugural Address. Delivered
before a joint session of congress, January 20, 1941. (official
White House transcript)</cite></li>
</ol>
<!-- ... -->
</section>

Gregory Rosmaita, 26 Mar 2009, 11:44:14

Display change log.


Chair, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 58.html,v 1.1 2011/01/03 13:53:50 dom Exp $