Link — http://rmmr.us/frequently-asked-questions/
Browser — Google Chrome 24.0.1312.57 on Mac OS 10.8.2
I second this request.
I’ve seen some other developers stop using the rel=”” attribute and switch to a data=”” attribute. For example, the Lightbox Plus plugin was using rel=”lightbox[post_id]” until recently. The developer was able to change that to data-lightbox=”[post_id]” to maintain functionality and validate under html5.
I’d propose offering data-faq=”” instead of rel=”” for all instances.
I would appreciate it if you would offer that as an option so my FAQ pages can validate. Thanks! Please let me know if you need more information from me.
I did verify that this works already. Just FYI.
I replaced all of the necessary rel attributes with the data-faq attribute in the faq-manager.php, faq.init.js and faq.scroll.js files.
Everything works beautifully and validates under HTML5. Could we swap that out in the next version of the plugin?
I plan on changing all the rel values over to HTML5 data-attributes once I can confirm it will work in older versions of IE without extensive code additions.
That could be why the lightbox plus developer made it a checkbox in the plugin settings. You can turn the HTML5-valid code on/off.
I’m not sure if it was a compatibility thing though.