On Apr 6, 2009, at 11:58 AM, Essential eBiz Solutions wrote:
Tee, I've stopped trying to figure out what Varien have going on in
their
heads. When it comes to Magento I prefer to make my own .phtml files
now. At
least that way I know they'll pass validation.
At some point Varien developers talked about improving the
accessibility on Magento code, even though I can't quite see it
clearly yet but I was hoping the newly added button type is one of
many steps that needs to be taken to improve the accessibility.
As you are aware, they use "onClick" for most button.
<button class="buy-btn" onclick="productAddToCartForm.submit()"><?
php echo $this->__('Buy Now') ?></button>
So I was guessing the <button type="button"> will eventually
eliminating the "onClick" and use Ajax calls to perform the button
submission.
I built my theme/template and have made every phtml file passes the
markup and WAI priority two validation (except the "E823 [WAI 3.5
(AA)] Nest headings properly"), and have ensured the quality of my
markup, as a result, I need to keep track on every little bit of
change in phtml/xml files Varien developer do.
Cheers,
tee
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************