- From: Steven Faulkner <faulkner.steve@gmail.com>
- Date: Sun, 18 Jul 2010 10:30:14 +0100
- To: Maciej Stachowiak <mjs@apple.com>
- Cc: Laura Carlson <laura.lee.carlson@gmail.com>, HTMLWG WG <public-html@w3.org>
- Message-ID: <AANLkTimteR_LekBE-Y1MmWkZ882O_0t5ecEVPZOG6Xlo@mail.gmail.com>
hi maciej, > For example, here is an excerpt of raw source for an email produced by GMail, notice lack of alt on the img elements: i checked the code of this email (gmail) using the validator.nu as its marked up as HTML5 (well it uses the HTML5 doctype) If we are basing conformance rules solely on what a particular email client or authoring tool is likely support, then there are a lot of other exceptions we should make for email clients and authoring tools. here are the results from validator.nu: 1. *Info*: The Content-Type was text/html. Using the HTML parser. 2. *Info*: Using the schema for HTML5+ARIA, SVG 1.1 plus MathML 2.0 (experimental). 3. *Error*: Required children missing from element head<http://www.whatwg.org/specs/web-apps/current-work/#the-head-element-0> . From line 3, column 123381; to line 3, column 123387<http://validator.nu/#l3c123387> t}</style>*</head>*<body Content model for element head<http://www.whatwg.org/specs/web-apps/current-work/#the-head-element-0> :If the document is an iframe srcdoc document<http://www.whatwg.org/specs/web-apps/current-work/#an-iframe-srcdoc-document>or if title information is available from a higher-level protocol: Zero or more elements of metadata content<http://www.whatwg.org/specs/web-apps/current-work/#metadata-content> .Otherwise: One or more elements of metadata content<http://www.whatwg.org/specs/web-apps/current-work/#metadata-content>, of which exactly one is a title<http://www.whatwg.org/specs/web-apps/current-work/#the-title-element-0>element. 4. *Error*: Attribute idlink not allowed on element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element>at this point. From line 3, column 123741; to line 3, column 123766<http://validator.nu/#l3c123766> lass="hk">*<span id=":18a" idlink="">*<img c Element-specific attributes for element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element> :Global attributes<http://www.whatwg.org/specs/web-apps/current-work/#global-attributes> 5. *Error*: The u element is obsolete. Use CSS instead<http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes> . From line 3, column 123817; to line 3, column 123832<http://validator.nu/#l3c123832> " alt=""> *<u class=" ou ">*Print 6. *Error*: Attribute idlink not allowed on element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element>at this point. From line 3, column 123875; to line 3, column 123900<http://validator.nu/#l3c123900> lass="hk">*<span id=":18b" idlink="">*<img c Element-specific attributes for element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element> :Global attributes<http://www.whatwg.org/specs/web-apps/current-work/#global-attributes> 7. *Error*: The u element is obsolete. Use CSS instead<http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes> . From line 3, column 123951; to line 3, column 123962<http://validator.nu/#l3c123962> " alt=""> *<u class="">*Create 8. *Error*: Attribute idlink not allowed on element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element>at this point. From line 3, column 124013; to line 3, column 124038<http://validator.nu/#l3c124038> lass="hk">*<span id=":18c" idlink="">*<img c Element-specific attributes for element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element> :Global attributes<http://www.whatwg.org/specs/web-apps/current-work/#global-attributes> 9. *Error*: The u element is obsolete. Use CSS instead<http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes> . From line 3, column 124089; to line 3, column 124100<http://validator.nu/#l3c124100> " alt=""> *<u class="">*Expand 10. *Error*: Attribute idlink not allowed on element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element>at this point. From line 3, column 124167; to line 3, column 124192<http://validator.nu/#l3c124192> lass="hk">*<span id=":18d" idlink="">*<img c Element-specific attributes for element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element> :Global attributes<http://www.whatwg.org/specs/web-apps/current-work/#global-attributes> 11. *Error*: The u element is obsolete. Use CSS instead<http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes> . From line 3, column 124243; to line 3, column 124254<http://validator.nu/#l3c124254> " alt=""> *<u class="">*Collap 12. *Error*: Attribute idlink not allowed on element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element>at this point. From line 3, column 124300; to line 3, column 124325<http://validator.nu/#l3c124325> lass="hk">*<span id=":18e" idlink="">*<img c Element-specific attributes for element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element> :Global attributes<http://www.whatwg.org/specs/web-apps/current-work/#global-attributes> 13. *Error*: The u element is obsolete. Use CSS instead<http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes> . From line 3, column 124376; to line 3, column 124387<http://validator.nu/#l3c124387> " alt=""> *<u class="">*Forwar 14. *Error*: Element table<http://www.whatwg.org/specs/web-apps/current-work/#the-table-element>not allowed as child of element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element>in this context. (Suppressing further errors from this subtree.) From line 3, column 124563; to line 3, column 124599<http://validator.nu/#l3c124599> id=":17o">*<table class="cf hX" cellpadding="0">*<tbody Contexts in which element table<http://www.whatwg.org/specs/web-apps/current-work/#the-table-element>may be used:Where flow content<http://www.whatwg.org/specs/web-apps/current-work/#flow-content>is expected.Content model for element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element> :Phrasing content<http://www.whatwg.org/specs/web-apps/current-work/#phrasing-content> . 15. *Error*: The cellpadding attribute on the table element is obsolete. Use CSS instead<http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes> . From line 3, column 124563; to line 3, column 124599<http://validator.nu/#l3c124599> id=":17o">*<table class="cf hX" cellpadding="0">*<tbody 16. *Error*: The cellpadding attribute on the table element is obsolete. Use CSS instead<http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes> . From line 3, column 125925; to line 3, column 125961<http://validator.nu/#l3c125961> div></div>*<table class="Bs nH" cellpadding="0">*<tr><t 17. *Error*: The cellpadding attribute on the table element is obsolete. Use CSS instead<http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes> . From line 3, column 126451; to line 3, column 126487<http://validator.nu/#l3c126487> s="gE hI">*<table class="cf gJ" cellpadding="0">*<tbody 18. *Error*: Attribute jid not allowed on element img<http://www.whatwg.org/specs/web-apps/current-work/#the-img-element>at this point. From line 3, column 126636; to line 3, column 126762<http://validator.nu/#l3c126762> lass="ik">*<img class="df QrVm3d" id="upi" name="upi" jid=" faulkner.steve@gmail.com" src="images/cleardot.gif" height="16px" width="16px">*</span Element-specific attributes for element img<http://www.whatwg.org/specs/web-apps/current-work/#the-img-element> :Global attributes<http://www.whatwg.org/specs/web-apps/current-work/#global-attributes> alt <http://www.whatwg.org/specs/web-apps/current-work/#attr-img-alt>src<http://www.whatwg.org/specs/web-apps/current-work/#attr-img-src> usemap<http://www.whatwg.org/specs/web-apps/current-work/#attr-hyperlink-usemap> ismap <http://www.whatwg.org/specs/web-apps/current-work/#attr-img-ismap> width <http://www.whatwg.org/specs/web-apps/current-work/#attr-dim-width> height<http://www.whatwg.org/specs/web-apps/current-work/#attr-dim-height> 19. *Error*: Bad value 16px for attribute height on element img<http://www.whatwg.org/specs/web-apps/current-work/#the-img-element>: Expected a digit but saw p instead. From line 3, column 126636; to line 3, column 126762<http://validator.nu/#l3c126762> lass="ik">*<img class="df QrVm3d" id="upi" name="upi" jid=" faulkner.steve@gmail.com" src="images/cleardot.gif" height="16px" width="16px">*</span Syntax of non-negative integer:One or more digits (0–9). For example: 42and 0 are valid, but -273 is not. 20. *Error*: Bad value 16px for attribute width on element img<http://www.whatwg.org/specs/web-apps/current-work/#the-img-element>: Expected a digit but saw p instead. From line 3, column 126636; to line 3, column 126762<http://validator.nu/#l3c126762> lass="ik">*<img class="df QrVm3d" id="upi" name="upi" jid=" faulkner.steve@gmail.com" src="images/cleardot.gif" height="16px" width="16px">*</span Syntax of non-negative integer:One or more digits (0–9). For example: 42and 0 are valid, but -273 is not. 21. *Error*: The name attribute on the img element is obsolete. Use the idattribute instead. From line 3, column 126636; to line 3, column 126762<http://validator.nu/#l3c126762> lass="ik">*<img class="df QrVm3d" id="upi" name="upi" jid=" faulkner.steve@gmail.com" src="images/cleardot.gif" height="16px" width="16px">*</span 22. *Error*: Attribute email not allowed on element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element>at this point. From line 3, column 126770; to line 3, column 126851<http://validator.nu/#l3c126851> x"></span>*<span email="faulkner.steve@gmail.com" class="gD" style="color: rgb(0, 104, 28);">*Steven Element-specific attributes for element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element> :Global attributes<http://www.whatwg.org/specs/web-apps/current-work/#global-attributes> 23. *Error*: The cellpadding attribute on the table element is obsolete. Use CSS instead<http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes> . From line 3, column 126928; to line 3, column 126964<http://validator.nu/#l3c126964> s="gF gK">*<table class="cf iB" cellpadding="0">*<tbody 24. *Error*: Attribute alt not allowed on element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element>at this point. From line 3, column 127147; to line 3, column 127225<http://validator.nu/#l3c127225> lass="gK">*<span id=":17s" class="g3" title="16 July 2010 09:06" alt="16 July 2010 09:06">*16 Jul Element-specific attributes for element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element> :Global attributes<http://www.whatwg.org/specs/web-apps/current-work/#global-attributes> 25. *Error*: The cellpadding attribute on the table element is obsolete. Use CSS instead<http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes> . From line 3, column 127586; to line 3, column 127622<http://validator.nu/#l3c127622> s="gE hI">*<table class="cf gJ" cellpadding="0">*<tbody 26. *Error*: Duplicate ID upi. From line 3, column 127771; to line 3, column 127900<http://validator.nu/#l3c127900> lass="ik">*<img class="df QrVm3d" id="upi" name="upi" jid=" laura.lee.carlson@gmail.com" src="images/cleardot.gif" height="16px" width="16px">*</span 27. *Warning*: The first occurrence of ID upi was here. From line 3, column 126636; to line 3, column 126762<http://validator.nu/#l3c126762> lass="ik">*<img class="df QrVm3d" id="upi" name="upi" jid=" faulkner.steve@gmail.com" src="images/cleardot.gif" height="16px" width="16px">*</span 28. *Error*: Attribute jid not allowed on element img<http://www.whatwg.org/specs/web-apps/current-work/#the-img-element>at this point. From line 3, column 127771; to line 3, column 127900<http://validator.nu/#l3c127900> lass="ik">*<img class="df QrVm3d" id="upi" name="upi" jid=" laura.lee.carlson@gmail.com" src="images/cleardot.gif" height="16px" width="16px">*</span Element-specific attributes for element img<http://www.whatwg.org/specs/web-apps/current-work/#the-img-element> :Global attributes<http://www.whatwg.org/specs/web-apps/current-work/#global-attributes> alt <http://www.whatwg.org/specs/web-apps/current-work/#attr-img-alt>src<http://www.whatwg.org/specs/web-apps/current-work/#attr-img-src> usemap<http://www.whatwg.org/specs/web-apps/current-work/#attr-hyperlink-usemap> ismap <http://www.whatwg.org/specs/web-apps/current-work/#attr-img-ismap> width <http://www.whatwg.org/specs/web-apps/current-work/#attr-dim-width> height<http://www.whatwg.org/specs/web-apps/current-work/#attr-dim-height> 29. *Error*: Bad value 16px for attribute height on element img<http://www.whatwg.org/specs/web-apps/current-work/#the-img-element>: Expected a digit but saw p instead. From line 3, column 127771; to line 3, column 127900<http://validator.nu/#l3c127900> lass="ik">*<img class="df QrVm3d" id="upi" name="upi" jid=" laura.lee.carlson@gmail.com" src="images/cleardot.gif" height="16px" width="16px">*</span Syntax of non-negative integer:One or more digits (0–9). For example: 42and 0 are valid, but -273 is not. 30. *Error*: Bad value 16px for attribute width on element img<http://www.whatwg.org/specs/web-apps/current-work/#the-img-element>: Expected a digit but saw p instead. From line 3, column 127771; to line 3, column 127900<http://validator.nu/#l3c127900> lass="ik">*<img class="df QrVm3d" id="upi" name="upi" jid=" laura.lee.carlson@gmail.com" src="images/cleardot.gif" height="16px" width="16px">*</span Syntax of non-negative integer:One or more digits (0–9). For example: 42and 0 are valid, but -273 is not. 31. *Error*: The name attribute on the img element is obsolete. Use the idattribute instead. From line 3, column 127771; to line 3, column 127900<http://validator.nu/#l3c127900> lass="ik">*<img class="df QrVm3d" id="upi" name="upi" jid=" laura.lee.carlson@gmail.com" src="images/cleardot.gif" height="16px" width="16px">*</span 32. *Error*: Attribute email not allowed on element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element>at this point. From line 3, column 127908; to line 3, column 127992<http://validator.nu/#l3c127992> x"></span>*<span email="laura.lee.carlson@gmail.com" class="gD" style="color: rgb(121, 6, 25);">*Laura Element-specific attributes for element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element> :Global attributes<http://www.whatwg.org/specs/web-apps/current-work/#global-attributes> 33. *Error*: The cellpadding attribute on the table element is obsolete. Use CSS instead<http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes> . From line 3, column 128067; to line 3, column 128103<http://validator.nu/#l3c128103> s="gF gK">*<table class="cf iB" cellpadding="0">*<tbody 34. *Error*: Attribute alt not allowed on element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element>at this point. From line 3, column 128286; to line 3, column 128364<http://validator.nu/#l3c128364> lass="gK">*<span id=":17u" class="g3" title="16 July 2010 09:58" alt="16 July 2010 09:58">*16 Jul Element-specific attributes for element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element> :Global attributes<http://www.whatwg.org/specs/web-apps/current-work/#global-attributes> 35. *Error*: Bad value for attribute id on element div<http://www.whatwg.org/specs/web-apps/current-work/#the-div-element>: An ID must not be the empty string. From line 3, column 128601; to line 3, column 128666<http://validator.nu/#l3c128666> "J-J5-Ji">*<div id="" class="J-Zh-I J-J5-Ji J-Zh-I-Js-Zj GZ L3" tabindex="0">*<img c Syntax of id:An ID consists of at least one character but must not contain any whitespace. 36. *Error*: The cellpadding attribute on the table element is obsolete. Use CSS instead<http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes> . From line 3, column 129142; to line 3, column 129178<http://validator.nu/#l3c129178> gE iv gt">*<table class="cf gJ" cellpadding="0">*<tbody 37. *Error*: The cellpadding attribute on the table element is obsolete. Use CSS instead<http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes> . From line 3, column 129208; to line 3, column 129244<http://validator.nu/#l3c129244> s="gF gK">*<table class="cf ix" cellpadding="0">*<tbody 38. *Error*: Duplicate ID upi. From line 3, column 129374; to line 3, column 129489<http://validator.nu/#l3c129489> lass="ik">*<img class="de QrVm3d" id="upi" name="upi" jid="mjs@apple.com" src="images/cleardot.gif" height="16px" width="16px">*</span 39. *Warning*: The first occurrence of ID upi was here. From line 3, column 126636; to line 3, column 126762<http://validator.nu/#l3c126762> lass="ik">*<img class="df QrVm3d" id="upi" name="upi" jid=" faulkner.steve@gmail.com" src="images/cleardot.gif" height="16px" width="16px">*</span 40. *Error*: Attribute jid not allowed on element img<http://www.whatwg.org/specs/web-apps/current-work/#the-img-element>at this point. From line 3, column 129374; to line 3, column 129489<http://validator.nu/#l3c129489> lass="ik">*<img class="de QrVm3d" id="upi" name="upi" jid="mjs@apple.com" src="images/cleardot.gif" height="16px" width="16px">*</span Element-specific attributes for element img<http://www.whatwg.org/specs/web-apps/current-work/#the-img-element> :Global attributes<http://www.whatwg.org/specs/web-apps/current-work/#global-attributes> alt <http://www.whatwg.org/specs/web-apps/current-work/#attr-img-alt>src<http://www.whatwg.org/specs/web-apps/current-work/#attr-img-src> usemap<http://www.whatwg.org/specs/web-apps/current-work/#attr-hyperlink-usemap> ismap <http://www.whatwg.org/specs/web-apps/current-work/#attr-img-ismap> width <http://www.whatwg.org/specs/web-apps/current-work/#attr-dim-width> height<http://www.whatwg.org/specs/web-apps/current-work/#attr-dim-height> 41. *Error*: Bad value 16px for attribute height on element img<http://www.whatwg.org/specs/web-apps/current-work/#the-img-element>: Expected a digit but saw p instead. From line 3, column 129374; to line 3, column 129489<http://validator.nu/#l3c129489> lass="ik">*<img class="de QrVm3d" id="upi" name="upi" jid="mjs@apple.com" src="images/cleardot.gif" height="16px" width="16px">*</span Syntax of non-negative integer:One or more digits (0–9). For example: 42and 0 are valid, but -273 is not. 42. *Error*: Bad value 16px for attribute width on element img<http://www.whatwg.org/specs/web-apps/current-work/#the-img-element>: Expected a digit but saw p instead. From line 3, column 129374; to line 3, column 129489<http://validator.nu/#l3c129489> lass="ik">*<img class="de QrVm3d" id="upi" name="upi" jid="mjs@apple.com" src="images/cleardot.gif" height="16px" width="16px">*</span Syntax of non-negative integer:One or more digits (0–9). For example: 42and 0 are valid, but -273 is not. 43. *Error*: The name attribute on the img element is obsolete. Use the idattribute instead. From line 3, column 129374; to line 3, column 129489<http://validator.nu/#l3c129489> lass="ik">*<img class="de QrVm3d" id="upi" name="upi" jid="mjs@apple.com" src="images/cleardot.gif" height="16px" width="16px">*</span 44. *Error*: Attribute email not allowed on element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element>at this point. From line 3, column 129545; to line 3, column 129572<http://validator.nu/#l3c129572> 6, 148);">*<span email="mjs@apple.com">*Maciej Element-specific attributes for element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element> :Global attributes<http://www.whatwg.org/specs/web-apps/current-work/#global-attributes> 45. *Error*: Attribute email not allowed on element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element>at this point. From line 3, column 129659; to line 3, column 129711<http://validator.nu/#l3c129711> s="hb">to *<span email="laura.lee.carlson@gmail.com" class="g2">*Laura< Element-specific attributes for element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element> :Global attributes<http://www.whatwg.org/specs/web-apps/current-work/#global-attributes> 46. *Error*: Attribute email not allowed on element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element>at this point. From line 3, column 129726; to line 3, column 129775<http://validator.nu/#l3c129775> a</span>, *<span email="faulkner.steve@gmail.com" class="g2">*me</sp Element-specific attributes for element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element> :Global attributes<http://www.whatwg.org/specs/web-apps/current-work/#global-attributes> 47. *Error*: Attribute email not allowed on element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element>at this point. From line 3, column 129787; to line 3, column 129830<http://validator.nu/#l3c129830> e</span>, *<span email="public-html@w3.org" class="g2">*HTMLWG Element-specific attributes for element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element> :Global attributes<http://www.whatwg.org/specs/web-apps/current-work/#global-attributes> 48. *Error*: Attribute idlink not allowed on element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element>at this point. From line 3, column 129920; to line 3, column 129946<http://validator.nu/#l3c129946> lass="gK">*<span class="iD" idlink="">*show d Element-specific attributes for element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element> :Global attributes<http://www.whatwg.org/specs/web-apps/current-work/#global-attributes> 49. *Error*: Attribute alt not allowed on element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element>at this point. From line 3, column 129967; to line 3, column 130045<http://validator.nu/#l3c130045> ls</span> *<span id=":17y" class="g3" title="16 July 2010 10:51" alt="16 July 2010 10:51">*16 Jul Element-specific attributes for element span<http://www.whatwg.org/specs/web-apps/current-work/#the-span-element> :Global attributes<http://www.whatwg.org/specs/web-apps/current-work/#global-attributes> 50. *Error*: The font element is obsolete. Use CSS instead<http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes> . From line 43, column 1; to line 43, column 22<http://validator.nu/#l43c22> ards,<br>↩*<font color="#888888">*Maciej 51. *Error*: The cellpadding attribute on the table element is obsolete. Use CSS instead<http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes> . From line 45, column 96; to line 45, column 132<http://validator.nu/#l45c132> lass="gB">*<table class="cf gz" cellpadding="0">*<tbody 52. *Error*: Attribute idlink not allowed on element div<http://www.whatwg.org/specs/web-apps/current-work/#the-div-element>at this point. From line 45, column 148; to line 45, column 207<http://validator.nu/#l45c207> y><tr><td>*<div class="cKWzSc mD" idlink="" tabindex="0" role="button">*<img c Element-specific attributes for element div<http://www.whatwg.org/specs/web-apps/current-work/#the-div-element> :Global attributes<http://www.whatwg.org/specs/web-apps/current-work/#global-attributes> 53. *Error*: Attribute idlink not allowed on element div<http://www.whatwg.org/specs/web-apps/current-work/#the-div-element>at this point. From line 45, column 302; to line 45, column 361<http://validator.nu/#l45c361> ></td><td>*<div class="K98VUe mD" idlink="" tabindex="0" role="button">*<img c Element-specific attributes for element div<http://www.whatwg.org/specs/web-apps/current-work/#the-div-element> :Global attributes<http://www.whatwg.org/specs/web-apps/current-work/#global-attributes> 54. *Error*: Attribute idlink not allowed on element div<http://www.whatwg.org/specs/web-apps/current-work/#the-div-element>at this point. From line 45, column 463; to line 45, column 522<http://validator.nu/#l45c522> ></td><td>*<div class="XymfBd mD" idlink="" tabindex="0" role="button">*<img c Element-specific attributes for element div<http://www.whatwg.org/specs/web-apps/current-work/#the-div-element> :Global attributes<http://www.whatwg.org/specs/web-apps/current-work/#global-attributes> On 16 July 2010 10:51, Maciej Stachowiak <mjs@apple.com> wrote: > > On Jul 16, 2010, at 1:58 AM, Laura Carlson wrote: > > > Hi Steve, > > > >> Why make an exception only for alt? If a document or email is PRIVATE, > there > >> are many other conformance requirements that could be waived > > > > The email loophole seems to go back to Mail.app: > > > > "Mail.app and other mail clients don't put alt attributes on images > > generated in email" - Maciej Stachowiak, April 11, 2007. [1] > > > > "I can only imagine it [alt] being useful as an advanced feature for > > experts. Normal people won't understand why a mail program would > > prompt them to type in some text about an image, that will then not be > > visible to them or their recipient." - Maciej Stachowiak, April 11, > > 2007. [2] > > > > Ian cited Maciej's [3] email as THE reason for the redefinition of the > > image element from a Vlad Alexander type definition [3] to optional > > alt in bug 9098 [4]. > > While I used Mail.app as an example over three years ago, I believe what I > said is true of nearly any mainstream mail client that lets you put inline > images in HTML email. For example, here is an excerpt of raw source for an > email produced by GMail, notice lack of alt on the img elements: > > ------------ > Content-Type: text/html; charset=ISO-8859-1 > Content-Transfer-Encoding: quoted-printable > > Hmm, can I add an <b>inline</b> image?<div><br></div><div><img > src=3D"cid:1= > E3@goomoji.gmail" style=3D"margin-top: 0px; margin-right: 0.2ex; > margin-bot= > tom: 0px; margin-left: 0.2ex; vertical-align: middle; " > goomoji=3D"1E3"><im= > g src=3D"cid:gtalk.367@goomoji.gmail" style=3D"margin-top: 0px; > margin-righ= > t: 0.2ex; margin-bottom: 0px; margin-left: 0.2ex; vertical-align: middle; > "= > goomoji=3D"gtalk.367"><br> > -------------- > > Note: I'm not sure at this point that the current state of alt is the best > solution to this problem. However, I think it's rather unlikely that > mainstream mail clients will start prompting users for a text alternative > each time they attach an image. If the spec requires HTML content in private > messages to include alt text, then I expect such a requirement would not be > respected in practice. > > Regards, > Maciej > > -- with regards Steve Faulkner Technical Director - TPG Europe Director - Web Accessibility Tools Consortium www.paciellogroup.com | www.wat-c.org Web Accessibility Toolbar - http://www.paciellogroup.com/resources/wat-ie-about.html
Received on Sunday, 18 July 2010 09:31:08 UTC