W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > August 2011

[Bug 13825] New: Suggestion: http://www.w3.org/TR/microdata/

From: <bugzilla@jessica.w3.org>
Date: Thu, 18 Aug 2011 13:14:16 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-13825-2486@http.www.w3.org/Bugs/Public/>

           Summary: Suggestion: http://www.w3.org/TR/microdata/
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.w3.org/mid/CAJSCMeFUcZhj9zEABTmSU5T6a1BUTJu
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: mike+html-wg-mailbot@w3.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,

public-html-comments posting from: Brent Jacobs <brent.jacobs@gmail.com>

Dear W3C

I would like to make a suggestion regarding The Basic
Syntax<http://www.w3.org/TR/microdata/#the-basic-syntax>section of the
HTML Microdata draft.

My suggestion relates to the mark up for items containing a single property:
<span itemscope><span itemprop="name">The Castle</span></span>

There is a potential to reduce the amount of markup for single property
items.  The itemscope attribute could be placed in the same span tag as the
itemprop attribute:
<span itemscope itemprop="name">The Castle</span>

This would reduce overhead of the additional span tag declaring the item.
 It is now clear that the item contains a single property.  It also makes
the markup neater and easier to read.

As similar syntax is already used for nested items (in red), it would
complimentary to define single property items in the same way.
<div itemscope>
  <p>Name: <span itemprop="name">Amanda</span></p>
  <p>Band: <span itemprop="band" *itemscope*>
        <span itemprop="name">Jazz Band</span> (
        <span itemprop="size">12</span> players)</span></p>

Kind regards,

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 18 August 2011 13:14:18 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:02:01 UTC