ISSUE-5: Use of attributes for human readable text

Use of attributes for human readable text

State:
CLOSED
Product:
woff
Raised by:
Richard Ishida
Opened on:
2010-12-15
Description:
6.2.1 Extended Metadata Block
http://www.w3.org/TR/WOFF/#Metadata

WG Reviewed: Yes

In the schema description, various items that contain human readable text are stored as attribute values. We normally recommend that you don't do this (see http://www.w3.org/TR/xml-i18n-bp/#DevAttributes) because of potential translation and annotation difficulties (eg. markup of bidi text). In several cases these attributes are the only content on empty elements.

See also the comment we will raise about localization of other elements, such as credit. Making the name attribute of the credit element into an element would allow for localizations of the name text, which is currently not possible.

We would suggest converting the attributes to element content. In most cases, this does not seem to cause any significant increase in the size of the markup.
Related Actions Items:
No related actions
Related emails:
  1. [css-text-decor-3] Updated DoC, open issues (from fantasai.lists@inkedblade.net on 2016-12-27)
  2. Review of tracker issues for best practices (from addison@lab126.com on 2015-03-25)
  3. Re: I18n-ISSUE-5: Use of attributes for human readable text [WOFF] (from ishida@w3.org on 2011-06-02)
  4. Re: I18n-ISSUE-5: Use of attributes for human readable text [WOFF] (from chris@w3.org on 2011-04-06)
  5. ISSUE-5: Use of attributes for human readable text [WOFF] (from sysbot+tracker@w3.org on 2010-12-15)

Related notes:

Current status:

Rejected. Will we accept?

Richard Ishida, 14 Apr 2011, 19:03:00

Mail sent: "The i18n WG would still prefer to use
elements rather than attributes for this information, but we will not
raise a formal objection against your decision."

Richard Ishida, 2 Jun 2011, 08:53:44

Display change log ATOM feed


Addison Phillips <addisonI18N@gmail.com>, Chair, Richard Ishida <ishida@w3.org>, Bert Bos <bert@w3.org>, Fuqiao Xue <xfq@w3.org>, Atsushi Shimono <atsushi@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 5.html,v 1.1 2023/07/19 12:02:05 carcone Exp $