PDA

View Full Version : Accessibility problem


bzman
07-30-2010, 02:25 PM
I am new to Dreamweaver and I created a one page web page. When I run the accessibility report I get a "provide metadata to pages and sites" failure. I have already created a titile, description, and keywords. What am I missing that will rid me of the error. I would appreciate any help.

edbr
07-31-2010, 02:31 AM
need to post your code so we can see.

bzman
08-02-2010, 01:27 PM
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Spiritual Truth</title>
<style type="text/css">
<!--
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #000099;
font-size: medium;
}
body {
background-image: url(Spiritual%20Truth%20Logo%20jpg%20Transparent.j pg);
background-repeat: repeat;
background-color: #CCCCCC;
margin-left: 0px;
margin-top: 0px;
}
a:link {
color: FF3300;
}
a:visited {
color: CC6600;
}
a:hover {
color: 999900;
}
a:active {
color: FF0000;
}
#wrapper {
background-color: #CDCDCD;
padding: 10px;
width: 950px;
margin-right: auto;
margin-left: auto;
}
.style1 {font-style: italic}
.style2 {
font-size: xx-large;
font-weight: bold;
}
.style3 {font-weight: bold}
.style4 {
font-family: "Times New Roman", Times, serif;
font-weight: bold;
font-size: x-large;
font-style: italic;
}
.style7 {font-size: large}
.style9 {
font-weight: bold;
font-size: medium;
}
-->
</style>
<meta name="Description" content="Dedicated to bring people to Jesus This site gives a person instructions on how to turn their lives around and follow the one true God and with the help of our Lord fend off Satan" />
<meta name="Keywords" content="loves loved JesusChrist God sacarficed forgiveness repent sinner Believe Savior cross Lord foregiven pray sinful Amen heart life Holy Spirit grave rose Receive lied stolen hurt killed" />
</head>
<body>
<div id="wrapper">
<div>
<div>
<p class="style1"><img src="Logo 1 copy r1.jpg" alt="The cross on top of a horizontal letter S" width="948" height="124" /></p>
<h1 class="style7">Do you sometimes feel that you are alone in this world that the world is against you? That you donít have a friend . That no one will help you, no one will listen to you and no one loves you. Feel comfort that the most important Spiritual Truth that will defeat anything the world throws at you is: </h1>
<h2 class="style2"> That Jesus loves you. That God loves you so much that He sent His one and only Son to die for you.</h2>
<h4 class="style3"> In the Bible, the book of John chapter 3 verse 16 says: <em>&quot;For God so loved the world, that he gave his only begotten son, that whosoever believes in him should not perish but have everlasting life.&quot;</em></h4>
<h4 class="style3"><strong> As Abraham loved God so much he was willing to sacrifice his only son for Him. God loves you so much He sacrificed His only Son for you.</strong></h4>
<h5 class="style9"> There is nothing you have done in your life that cannot be forgiven by God. If you have lied, stolen, hurt, or even killed someone, there is nothing that cannot be forgiven by our Lord.</h5>
<p><strong> All you have to do is repent (to change your life towards living as God wants you to live), accept Jesus into your heart, and ask Him for forgiveness.</strong></p>
<p><strong> Will you do this now.</strong></p>
<p><strong> This is how you receive Christ:</strong></p>
<p><em><strong> 1. Admit your need (I am a sinner)</strong></em></p>
<p><strong><em> 2. Be willing to turn from your sins</em></strong></p>
<p><strong><em>3. Believe that Jesus Christ died for you on the cross and rose from the grave</em></strong></p>
<p><strong><em>4. Through prayer, invite Jesus Christ to come in and control your life through the Holy Spirit. (Receive Him as your Savior)</em></strong></p>
<p>&nbsp;</p>
<p><strong>Will you pray now this prayer:</strong></p>
<p class="style4"> Dear Lord Jesus, I know that I am sinful and I need your forgiveness. I believe that You died to pay the penalty for my sin. I want to turn from my sin nature and follow You instead. I invite You to come into my heart and life. In Jesusí name. Amen</p>
<p><strong>Welcome into the family of God my brother/sister in Christ.</strong></p>
</div>
</div>
</div>
</body>
</html>

edbr
08-03-2010, 02:09 AM
add a doctype

bzman
08-09-2010, 02:26 PM
I have a doc type but still getting the metadata failure message


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Spiritual Truth</title>
<style type="text/css">
<!--
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #000099;
font-size: medium;
}
body {
background-image: url(Spiritual%20Truth%20Logo%20jpg%20Transparent.j pg);
background-repeat: repeat;
background-color: #CCCCCC;
margin-left: 0px;
margin-top: 0px;
}
a:link {
color: FF3300;
}
a:visited {
color: CC6600;
}
a:hover {
color: 999900;
}
a:active {
color: FF0000;
}
#wrapper {
background-color: #CDCDCD;
padding: 10px;
width: 950px;
margin-right: auto;
margin-left: auto;
}
.style1 {font-style: italic}
.style2 {
font-size: xx-large;
font-weight: bold;
}
.style3 {font-weight: bold}
.style4 {
font-family: "Times New Roman", Times, serif;
font-weight: bold;
font-size: x-large;
font-style: italic;
}
.style7 {font-size: large}
.style9 {
font-weight: bold;
font-size: medium;
}
-->
</style>
<meta name="Description" content="Dedicated to bring people to Jesus This site gives a person instructions on how to turn their lives around and follow the one true God and with the help of our Lord fend off Satan" />
<meta name="Keywords" content="loves loved JesusChrist God sacarficed forgiveness repent sinner Believe Savior cross Lord foregiven pray sinful Amen heart life Holy Spirit grave rose Receive lied stolen hurt killed" />
</head>
<body>
<div id="wrapper">
<div>
<div>
<p class="style1"><img src="Logo 1 copy r1.jpg" alt="The cross on top of a horizontal letter S" width="948" height="124" /></p>
<h1 class="style7">Do you sometimes feel that you are alone in this world that the world is against you? That you donít have a friend . That no one will help you, no one will listen to you and no one loves you. Feel comfort that the most important Spiritual Truth that will defeat anything the world throws at you is: </h1>
<h2 class="style2"> That Jesus loves you. That God loves you so much that He sent His one and only Son to die for you.</h2>
<h4 class="style3"> In the Bible, the book of John chapter 3 verse 16 says: <em>&quot;For God so loved the world, that he gave his only begotten son, that whosoever believes in him should not perish but have everlasting life.&quot;</em></h4>
<h4 class="style3"><strong> As Abraham loved God so much he was willing to sacrifice his only son for Him. God loves you so much He sacrificed His only Son for you.</strong></h4>
<h5 class="style9"> There is nothing you have done in your life that cannot be forgiven by God. If you have lied, stolen, hurt, or even killed someone, there is nothing that cannot be forgiven by our Lord.</h5>
<p><strong> All you have to do is repent (to change your life towards living as God wants you to live), accept Jesus into your heart, and ask Him for forgiveness.</strong></p>
<p><strong> Will you do this now.</strong></p>
<p><strong> This is how you receive Christ:</strong></p>
<p><em><strong> 1. Admit your need (I am a sinner)</strong></em></p>
<p><strong><em> 2. Be willing to turn from your sins</em></strong></p>
<p><strong><em>3. Believe that Jesus Christ died for you on the cross and rose from the grave</em></strong></p>
<p><strong><em>4. Through prayer, invite Jesus Christ to come in and control your life through the Holy Spirit. (Receive Him as your Savior)</em></strong></p>
<p>&nbsp;</p>
<p><strong>Will you pray now this prayer:</strong></p>
<p class="style4"> Dear Lord Jesus, I know that I am sinful and I need your forgiveness. I believe that You died to pay the penalty for my sin. I want to turn from my sin nature and follow You instead. I invite You to come into my heart and life. In Jesusí name. Amen</p>
<p><strong>Welcome into the family of God my brother/sister in Christ.</strong></p>
</div>
</div>
</div>
</body>
</html>

Corrosive
08-09-2010, 03:23 PM
I'm really not sure it matters all that much. Your code looks good to me.

bzman
08-10-2010, 03:56 AM
Thank you. I will go forward with the page.

edbr
08-10-2010, 04:54 AM
except these # is missing (in red)
a:link {
color:# FF3300;
}
a:visited {
color:# CC6600;
}
a:hover {
color: #999900;
}
a:active {
color: #FF0000;

Corrosive
08-10-2010, 06:46 AM
Well spotted Ed. I'd not even noticed. They could also be written as short hands but that may be for another day; http://corrosiveonline.co.uk/tutorials_css_shorthand.php ;)

edbr
08-10-2010, 07:07 AM
yes saving maybe 30 millisconds