W3C home > Mailing lists > Public > public-html-commits@w3.org > May 2011

html5/markup Makefile,1.119,1.120 img.html,1.102,1.103 spec.html,1.315,1.316

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 06 May 2011 02:48:14 +0000
To: public-html-commits@w3.org
Message-Id: <E1QIB5w-0002WG-TU@lionel-hutz.w3.org>
Update of /sources/public/html5/markup
In directory hutz:/tmp/cvs-serv9531

Modified Files:
	Makefile img.html spec.html 
Log Message:
Fixed assertions for alt-less img.


Index: Makefile
===================================================================
RCS file: /sources/public/html5/markup/Makefile,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -d -r1.119 -r1.120
--- Makefile	30 Apr 2011 11:35:31 -0000	1.119
+++ Makefile	6 May 2011 02:48:10 -0000	1.120
@@ -128,6 +128,7 @@
 	  --param show-content-models $(SHOW_CONTENT_MODELS) \
 	  tools/generate-spec-source.xsl $< \
 	  | $(PERL) $(PERLFLAGS) -pi -e 's|(Use CSS instead). (http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes)|<a href="$$2">$$1</a>.|g' \
+	  | $(PERL) $(PERLFLAGS) -pi -e 'undef $$/; s|(guidance\s+on\s+providing\s+text\s+alternatives\s+for\s+images).\s+(http://www.w3.org/wiki/HTML/Usage/TextAlternatives)|<a href="$$2">$$1</a>.|g' \
 	  | $(PERL) $(PERLFLAGS) -pi -e 's|(meta extensions). &lt;(http://wiki.whatwg.org/wiki/MetaExtensions)&gt;|<a href="$$2">$$1</a>.|g' \
 	  | $(PERL) $(PERLFLAGS) -pi -e 's|d:string ""|"" <span class="attr-qualifier">(empty string)</span> <span class="postfix or">or</span> <a href="#syntax-attr-empty">empty</a>|g' \
 	  | $(PERL) $(PERLFLAGS) -pi -e 's|d:string||g' \

Index: img.html
===================================================================
RCS file: /sources/public/html5/markup/img.html,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -d -r1.102 -r1.103
--- img.html	5 May 2011 18:12:00 -0000	1.102
+++ img.html	6 May 2011 02:48:11 -0000	1.103
@@ -144,8 +144,10 @@
 </h2>
         <ul class="assertions">
 <li><span>
-				Element <span class="element">img</span> is missing required
-				attribute <span class="attribute">alt</span>.
+				An <span class="element">img</span> element must have an
+				<span class="attribute">alt</span> attribute, except under
+				certain conditions. For details,
+				consult <a href="http://www.w3.org/wiki/HTML/Usage/TextAlternatives">guidance on providing text alternatives for images</a>.
 			</span></li>
           <li><span>
 				The element <span class="element">img</span>

Index: spec.html
===================================================================
RCS file: /sources/public/html5/markup/spec.html,v
retrieving revision 1.315
retrieving revision 1.316
diff -u -d -r1.315 -r1.316
--- spec.html	5 May 2011 18:12:04 -0000	1.315
+++ spec.html	6 May 2011 02:48:11 -0000	1.316
@@ -10037,8 +10037,10 @@
 </h2>
         <ul class="assertions">
 <li><span>
-				Element <span class="element">img</span> is missing required
-				attribute <span class="attribute">alt</span>.
+				An <span class="element">img</span> element must have an
+				<span class="attribute">alt</span> attribute, except under
+				certain conditions. For details,
+				consult <a href="http://www.w3.org/wiki/HTML/Usage/TextAlternatives">guidance on providing text alternatives for images</a>.
 			</span></li>
           <li><span>
 				The element <span class="element">img</span>
Received on Friday, 6 May 2011 02:48:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 6 May 2011 02:51:26 GMT