Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added map tag and iframes without title.

  • Loading branch information...
commit fcda4b443393d3c9ab4248cfa3b794afc127e225 1 parent 4b054bb
@imbrianj imbrianj authored
View
14 debugCSS.css
@@ -70,9 +70,11 @@ ul > *:not(li),
dl > *:not(dt):not(dd):after,
form > *:not(fieldset):after,
fieldset *:not(legend):first-child:after,
+iframe:not([title]):after,
center:after,
u:after,
font:after,
+map:after,
b:after,
i:after,
blink:after,
@@ -218,6 +220,11 @@ fieldset *:not(legend):first-child:after {
content: 'Should your FIELDSET be using a LEGEND?';
}
+iframe:not([title]):after {
+ background: green;
+ content: 'IFRAME lacks TITLE attribute.';
+}
+
center:after,
u:after,
font:after {
@@ -226,6 +233,11 @@ font:after {
}
/* These may not be "wrong", but let's bug you anyway. */
+map:after {
+ background: green;
+ content: 'Is MAP appropriate here?';
+}
+
b:after,
i:after {
background: green;
@@ -253,6 +265,7 @@ table thead td,
table > tr:first-child:last-child,
table > tbody > tr:first-child:last-child,
table > tbody:first-child,
+map,
b,
i {
outline: 5px solid green;
@@ -296,6 +309,7 @@ ul > *:not(li),
dl > *:not(dt):not(dd),
form > *:not(fieldset),
fieldset *:not(legend):first-child,
+iframe:not([title]),
center,
u,
font,
View
4 playgrounds/accessibility.html
@@ -280,6 +280,10 @@
</fieldset>
</form>
</li>
+ <li>
+ <h4>iframe:not([title])</h4>
+ <iframe src="#" width="100px" height="20px">iframe without title</iframe>
+ </li>
</ul>
</div>
</div>
View
7 playgrounds/other.html
@@ -182,7 +182,6 @@
</script>
</head>
<body>
-
<a href="https://github.com/yahoo/debugCSS"><img alt="Fork me on GitHub" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" style="position: absolute; top: 0; right: 0; border: 0;"></a>
<div class="wrapper">
<div id="hd">
@@ -191,7 +190,6 @@
<div id="bd">
<div class="mod" id="summary">
<div class="hd">
-
<h3>Summary</h3>
</div>
<div class="bd">
@@ -201,7 +199,6 @@
<p>
Not all "errors" are created equally, so they are color coded to highlight severity. Green is "probably not a big problem", yellow is "worth looking at" and red is "you really should fix this."
</p>
-
</div>
</div>
<div class="mod" id="install">
@@ -210,7 +207,6 @@
</div>
<div class="bd">
<p>
-
Click and drag the link below to your bookmark toolbar to install - or right click "Bookmark This Link".
</p>
<a href="javascript:(function(d,i,l){l=d.getElementById(i);if(l){l.parentNode.removeChild(l);return;}l=d.createElement('link');l.id=i;l.rel='stylesheet';l.type='text/css';l.href=fileSource;d.getElementsByTagName('head')[0].appendChild(l);}(document,'debugCSS'))" class="install">debugCSS</a>
@@ -285,6 +281,9 @@
<font>Deprecated tag</font>
</li>
<li>
+ <h4>map</h4>
+ <map></map>
+ <li>
<h4>b</h4>
<b>Deprecated tag</b>
</li>

0 comments on commit fcda4b4

Please sign in to comment.
Something went wrong with that request. Please try again.