if( document.addEventListener ) document.addEventListener( 'DOMContentLoaded', acccessibleForm, false );

function acccessibleForm(){
  // Hide forms
  $('div.accessible-form').hide().end();
  
  // Processing
  jQuery.each($('div.accessible-form').find('li'), function(i) {
	jQuery.each($(this).find('label'), function(i) {
		var labelContent = this.innerHTML;
		var labelWidth = document.defaultView.getComputedStyle(this, '').getPropertyValue('width');
		var labelSpan = document.createElement('span');
			labelSpan.style.display = 'block';
			labelSpan.style.width = labelWidth;
			labelSpan.innerHTML = labelContent;
		this.style.display = '-moz-inline-box';
		this.innerHTML = null;
		this.appendChild(labelSpan);
    }).end();
  }).end();
  
  // Show forms
  $('div.accessible-form').show().end();
}