Permalink
Browse files

moves error message to h1 so that it is more clearly announced for ac…

…cessibility.
  • Loading branch information...
common-nighthawk committed Sep 22, 2016
1 parent b756f2a commit 81c1314b1e25911d738f6f77a59692445621574a
Showing with 8 additions and 2 deletions.
  1. +1 −1 assets/script.js
  2. +6 −0 assets/style.css
  3. +1 −1 sign-up-now.html
View
@@ -58,7 +58,7 @@ $(document).ready(function() {
msg = "Great! Your registration is complete."
}
$(".flash").html(msg);
$(".flash h1").html(msg);
return false;
})
});
View
@@ -13,6 +13,12 @@ main {
padding: 2em 1em;
}
h1 {
font-size: 1em;
font-weight: normal;
margin: 0;
}
h2 {
color: #333;
}
View
@@ -15,7 +15,7 @@
<body>
<header></header>
<main>
<div class="flash"></div>
<div class="flash"><h1></h1></div>
<h2>Sign Up Now</h2>
<form>

0 comments on commit 81c1314

Please sign in to comment.