Fork me on GitHub
Subscribe 3

Ticket #934 (fixed enhancement)

HTML5 validation

  • Created: 2013-12-21 09:10:16
  • Reported by: philwareham
  • Assigned to: quy
  • Milestone: 1.5.6
  • Component: markup
  • Priority: normal

We use FluxBB with a HTML5 doctype and it throws a couple of validation errors in the W3C Validator. These are relatively trivial to fix I think, so I'll list them here...

1. The 'cellspacing' attribute is obsolete and should be replaced with 'border-collapse' CSS rule. So remove any reference of cellspacing="0" from the markup and put a border-collapse:0; rule in the CSS for table tag.

2. On the 'Jump to' menu you've wrapped both the 'select' and the 'submit' inside a 'label' tag. A label tag can only contain one form element as a child, so I suggest you pull the submit button out of the label wrap, or pull both out and use the 'for' attribute to link the label to the select.

Regards,
Phil

History

Franz 2013-12-21 12:29:44

  • Milestone set to 1.5.6.

Thanks, will be fixed in the next release!

quy 2013-12-21 19:20:27

Commit cea1503 to fluxbb master

#934: Remove obsolete cellspacing attribute

quy 2013-12-24 19:41:04

Commit 5d451ff to fluxbb master

#934: Move submit button outside of label wrap.

quy 2013-12-24 20:06:37

  • Owner set to quy.
  • Status changed from open to fixed.

Thanks.