Skip to content

Commit

Permalink
Merge pull request #6 from kerstinp/patch-1
Browse files Browse the repository at this point in the history
Update html-tech-src.xml
  • Loading branch information
Andrew Kirkpatrick committed Feb 5, 2014
2 parents b27ccd5 + e9752d8 commit 95f251c
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions wcag20/sources/html-tech-src.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<success-criterion idref="navigation-mechanisms-link"/>
</applies-to>
<description>
<p>This objective of this technique is to avoid unnecessary duplication that occurs when
<p>The objective of this technique is to avoid unnecessary duplication that occurs when
adjacent text and iconic versions of a link are contained in a document. </p>
<p>Many kinds of links have both a text and iconic link adjacent to each other. Often the
text and the icon link are rendered in separate links, in part to create a slight visual
Expand Down Expand Up @@ -338,21 +338,21 @@
<p>The HTML 4.01 specification explains that the text of the <att>alt</att> attribute
is to be displayed when the element cannot be rendered normally. User Agents will
display the <att>alt</att> attribute text when images are not displayed. However,
currently, visual User Agents do not display the alt attribute text for area elements
currently, visual User Agents do not display the <att>alt</att> attribute text for area elements
of image maps when accessed by keyboard or when images are not displayed, and may clip
the area elements if the intrinsic size of the image is not used. In addition, the
display of alt attribute text in response to mouse-hover does not display in the font
display of <att>alt</att> attribute text in response to mouse-hover does not display in the font
size or color combination set in the User Agent. </p>
<p>The <att>title</att> attribute is meant to provide additional information. However,
current implementation in User Agents is access to either the title or alt attribute,
current implementation in User Agents is access to either the title or <att>alt</att> attribute,
but not both. User Agents generally will display the <att>title</att> attribute text
when the mouse is placed over the element containing the <att>title</att> attribute.
</p>
<p>Therefore, when using image maps, successful implementation of this technique would
require either:</p>
<ulist>
<item>
<p>Ensuring the area element alt attribute value is displayed in response to
<p>Ensuring the area element <att>alt</att> attribute value is displayed in response to
attaining focus (including keyboard focus), and that this applies both to
situations where images are loaded and not loaded. OR</p>
</item>
Expand Down Expand Up @@ -418,7 +418,7 @@ more information on that area." />
<p>Check that the <el>area</el> element has an <att>alt</att> attribute.</p>
</item>
<item>
<p>Check that the text alternative specified by the alt attribute serves the same
<p>Check that the text alternative specified by the <att>alt</att> attribute serves the same
purpose as the part of image map image referenced by the <el>area</el> element
of the imagemap.</p>
</item>
Expand Down Expand Up @@ -715,7 +715,7 @@ brought by members of the National Writers Union against ......</p> ]]></code>
</eg-group>
<eg-group>
<description>
<p>Using an empty alt attribute when the anchor (<el>a</el>) element contains text
<p>Using an empty <att>alt</att> attribute when the anchor (<el>a</el>) element contains text
that describes the purpose of the link in addition to the <el>img</el> element.
Note that the link text will appear on the page next to the image.</p>
</description>
Expand Down Expand Up @@ -1147,15 +1147,15 @@ Woodend Music Festival Program
<p>This technique is not supported well by assistive technologies. The HTML specification explains that text alternatives for applets are to be displayed when the element cannot be rendered. Therefore, text alternatives that are included in the body of <el>applet</el> elements may not be available to users unless the user agent either does not support or has been configured not to render applets. </p>
</item>
<item>
<p>IE 6 for Windows and Firefox 1.5 and Opera 9 on Windows treat alternative text for the applet element differently. IE will display the body text of the applet element and not the alt attribute. Firefox and Opera will display the alt attribute but not the body text. </p>
<p>IE 6 for Windows and Firefox 1.5 and Opera 9 on Windows treat alternative text for the applet element differently. IE will display the body text of the applet element and not the <att>alt</att> attribute. Firefox and Opera will display the <att>alt</att> attribute but not the body text. </p>
</item>
</ulist>
</ua-issue>
</ua-issues>
<description>
<p> Provide a text alternative for an applet by using the alt attribute to label an applet
<p> Provide a text alternative for an applet by using the <att>alt</att> attribute to label an applet
and providing the text alternative in the body of the applet element. In this technique, both mechanisms
are required due to the varying support of the alt attribute and applet body text by
are required due to the varying support of the <att>alt</att> attribute and applet body text by
user agents. </p>
</description>
<examples>
Expand All @@ -1177,7 +1177,7 @@ Woodend Music Festival Program
<p> View the source code of the applet element </p>
</item>
<item>
<p> Check that the applet element contains an alt attribute with a text alternative
<p> Check that the applet element contains an <att>alt</att> attribute with a text alternative
for the applet </p>
</item>
<item>
Expand All @@ -1196,7 +1196,7 @@ Woodend Music Festival Program
</tests>
</technique>
<technique id="H36">
<short-name>Using alt attributes on images used as submit buttons</short-name>
<short-name>Using <att>alt</att> attributes on images used as submit buttons</short-name>
<applicability>
<p> Applies to content using image-based submit buttons. </p>
</applicability>
Expand Down Expand Up @@ -1235,11 +1235,11 @@ Woodend Music Festival Program
<procedure>
<olist>
<item>
<p> For all input elements that have a type attribute value of "image", check for
the presence of an alt attribute. </p>
<p> For all <el>input</el> elements that have a type attribute value of "image", check for
the presence of an <att>alt</att> attribute. </p>
</item>
<item>
<p>Check that the alt attribute indicates the
<p>Check that the <att>alt</att> attribute indicates the
button's function.</p>
</item>
</olist>
Expand Down Expand Up @@ -1893,7 +1893,7 @@ Woodend Music Festival Program
</ulist>
<p>The <att>label</att> element is <emph role="bold">not</emph> used for the following
because labels for these elements are provided via the value attribute (for Submit and
Reset buttons), the alt attribute (for image buttons), or element content itself
Reset buttons), the <att>alt</att> attribute (for image buttons), or element content itself
(button). </p>
<ulist>
<item>
Expand Down

0 comments on commit 95f251c

Please sign in to comment.