WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Use of <cite> Quotations with citation

for

From: Steve Faulkner
Date: Sep 20, 2013 2:55AM


Hi Rabab,

1) Would it be a failure/bad practise if <cite>is dropped from quotation
> with explicit citation?
> For example not coding <cite>in <blockquote> example 2 in
> http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G115.html.
> Sometimes, it is difficult to decide the source and other time the source
> is refereed to multiple times in one or more paragraphs or along one page.
>

No it wouldn't be. The techniques are advisory only. In a practical sense
the use of cite makes no difference other than changing the visible styling
of the text it contains to italics.

2) Why Hillary is not coded using <cite> in the last example on
> http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-cite-element?
> <p><q>This is correct</q>, said Hillary.</p>
>


The HTML 5.1 spec is a work in progress, so parts of it are not stable (for
that matter neither is the WHATWG 'living standard').
changes have been made recently to the definition of cite (and blockquote)
in response to feedback from various sources[1] and the content is still
being tweaked,
I appreciate your question pointing out the ambiguity in this example, I
have modified it [2]

This is incorrect usage, because cite is not for quotes:
>
> <p><cite>This is wrong!, said Hillary.</cite> is a quote from the
> popular daytime TV drama When Ian became Hillary.</p>
>
> This is an example of the correct usage:
>
> <p><q>This is correct, said Hillary.</q>is a quote from the
> popular daytime TV drama <cite>When Ian became Hillary</cite>.</p>
>
>
A good rule of thumb when deciding whether the appropriate use for an
element is to look at the part of the definition that talks about what the
element 'represents'

The cite element represents a reference to a creative work. It must include
> the title of the work or the name of the author (person, people or
> organization) or an URL reference, which may be in an abbreviated form as
> per the conventions used for the addition of citation metadata.[2]
>

In the case of the example it is quoted text from a creative work and so is
placed within a <q> element to identify it as a quote, 'Hillary' in this
context is not a reference to a creative work it is part of a creative work
being referenced.

[1]
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23008
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23175
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22996

[2]
http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-cite-element

--

Regards

SteveF
HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>;


On 19 September 2013 17:38, Rabab Gomaa < <EMAIL REMOVED> >wrote:

> Hello,
>
> I am wondering about the use of <cite>in the following cases.
>
> 1) Would it be a failure/bad practise if <cite>is dropped from quotation
> with explicit citation?
> For example not coding <cite>in <blockquote> example 2 in
> http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G115.html.
> Sometimes, it is difficult to decide the source and other time the source
> is refereed to multiple times in one or more paragraphs or along one page.
>
> 2) Why Hillary is not coded using <cite> in the last example on
> http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-cite-element?
> <p><q>This is correct</q>, said Hillary.</p>
> Thank you,
> Rabab Gomaa
>
>
> > > >
>