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:
- [css-text-decor-3] Updated DoC, open issues (from fantasai.lists@inkedblade.net on 2016-12-27)
- Review of tracker issues for best practices (from addison@lab126.com on 2015-03-25)
- Re: I18n-ISSUE-5: Use of attributes for human readable text [WOFF] (from ishida@w3.org on 2011-06-02)
- Re: I18n-ISSUE-5: Use of attributes for human readable text [WOFF] (from chris@w3.org on 2011-04-06)
- 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?
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."
Display change log