Invalid use of <b> tag

Rowanw - March 19, 2009 - 05:20
Project:Taxonomy Redirect
Version:6.x-1.3
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed
Description

The fieldset of $form['add_redirect'] is wrapped in a <b> tag which is invalid HTML. It also causes all the text within the fieldset to become bold which is needless.

The reason this <b> is invalid is because it's an inline-level element and inline elements are not allowed to contain block-level elements, such as fieldsets and divs.

Drupal core also uses <strong> instead of <b> for semantic reasons.

#1

Justin W Freeman - November 14, 2009 - 04:27
Status:active» fixed

Committed to 5.x-1.x & 6.x-1.x branches

#2

System Message - November 28, 2009 - 04:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.