Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-284108: html - label for could be validated and show errors

$
0
0
Reporter mark van tilburg (mark.van.tilburg) mark van tilburg (mark.van.tilburg)
Created Nov 30, 2011 1:18:20 PM
Updated Jan 18, 2012 2:26:17 PM
Priority Critical
Type Feature
Fix versions Next Dev11
State Submitted
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
E.g. for code like this:

The Label for tag is pointing to a non existing item, it could fire an error that id "gebruikersnaam3" is not found (in this example the entire id does not exist on the page).

<table width="487" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="120" align="left" valign="top"><label for="gebruikersnaam3">Gebruikersnaam</label></td>
<td colspan="2" align="left" valign="top"><input name="txtUsername" type="text" id="txtUsername" size="30" style="font-family:Verdana, Geneva, sans-serif; font-size:10px; color:#000; line-height:14px; margin-bottom:5px;" /></td>
</tr>
</table>

I might be an improvement to R# if it detects that the tag where label for points to does not exist.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>